This commit is contained in:
yz 2025-01-16 15:27:27 +08:00
parent 39680829e5
commit c9b78dfa80
4 changed files with 41 additions and 47 deletions

View File

@ -13,16 +13,12 @@
"googleApiKey": "", "googleApiKey": "",
"openRouterAiApiKey": "", "openRouterAiApiKey": "",
"defaultChainType": "llm_chain", "defaultChainType": "llm_chain",
<<<<<<< HEAD
"defaultModelKey": "gemma2:latest|ollama",
=======
"defaultModelKey": "phi4:latest|ollama", "defaultModelKey": "phi4:latest|ollama",
>>>>>>> 43e7b08163ff98d031f47a55e6d8abfb871edb14
"embeddingModelKey": "nomic-embed-text|ollama", "embeddingModelKey": "nomic-embed-text|ollama",
"temperature": 0.1, "temperature": 0.1,
"maxTokens": 1000, "maxTokens": 1000,
"contextTurns": 15, "contextTurns": 15,
"userSystemPrompt": "翻译成中文", "userSystemPrompt": "",
"openAIProxyBaseUrl": "", "openAIProxyBaseUrl": "",
"openAIEmbeddingProxyBaseUrl": "", "openAIEmbeddingProxyBaseUrl": "",
"stream": true, "stream": true,
@ -47,47 +43,21 @@
"provider": "openai", "provider": "openai",
"enabled": true, "enabled": true,
"isBuiltIn": true, "isBuiltIn": true,
"core": true, "core": true
"baseUrl": "",
"apiKey": ""
}, },
{ {
"name": "gpt-4o-mini", "name": "gpt-4o-mini",
"provider": "openai", "provider": "openai",
"enabled": true, "enabled": true,
"isBuiltIn": true, "isBuiltIn": true,
"core": true, "core": true
"baseUrl": "",
"apiKey": ""
}, },
{ {
"name": "claude-3-5-sonnet-latest", "name": "claude-3-5-sonnet-latest",
"provider": "anthropic", "provider": "anthropic",
"enabled": true, "enabled": true,
"isBuiltIn": true, "isBuiltIn": true,
"core": true, "core": true
"baseUrl": "",
"apiKey": ""
},
{
"name": "llama3.2:latest",
"provider": "ollama",
"baseUrl": "https://possibly-engaged-filly.ngrok-free.app",
"apiKey": "",
"enabled": true,
"isBuiltIn": false,
"enableCors": true,
"isEmbeddingModel": false
},
{
"name": "gemma2:latest",
"provider": "ollama",
"baseUrl": "https://possibly-engaged-filly.ngrok-free.app",
"apiKey": "",
"enabled": true,
"isBuiltIn": false,
"enableCors": true,
"isEmbeddingModel": false
}, },
{ {
"name": "phi4:latest", "name": "phi4:latest",
@ -98,6 +68,16 @@
"isBuiltIn": false, "isBuiltIn": false,
"enableCors": true, "enableCors": true,
"isEmbeddingModel": false "isEmbeddingModel": false
},
{
"name": "llama3.2:latest",
"provider": "ollama",
"baseUrl": "https://possibly-engaged-filly.ngrok-free.app",
"apiKey": "",
"enabled": true,
"isBuiltIn": false,
"enableCors": true,
"isEmbeddingModel": false
} }
], ],
"activeEmbeddingModels": [ "activeEmbeddingModels": [

View File

@ -3617,23 +3617,26 @@ and the ellipsoid appears as shown in Fig. 3.9.2. Furthermore, the moment of ine
# GENERALIZED FORCES # GENERALIZED FORCES
The necessity to cross-multiply a vector $\mathbf{v}$ with the position vector ${\mathfrak{p}}^{A B}$ from a point $A$ to a point $B$ arises frequently [see, for example, Eqs. (2.7.1) and (3.5.27)]. Now, ${\bf p}^{A B}\mathrm{\bf~\times~}{\bf v}={\bf p}^{A C}\mathrm{\bf~\times~}{\bf v},$ where $\mathfrak{p}^{A C}$ is the position vector from $A$ to any point C of the line L that is parallel to v and passes through B; and, when C is chosen properly, it may be easier to evaluate $\mathsf{\pmb{p}}^{A C}$ x v than $\boldsymbol{\mathsf{p}}^{A B}\,\times\,\boldsymbol{\mathsf{v}}.$ This fact provides the motivation for introducing the concepts of “bound" vectors and “moments" of such vectors as in Sec. 4.1. The terms “couple” and “torque,” which have to do with special sets of bound vectors, are defined in Sec. 4.2, and the concepts of "equivalence" and “replacement,” each of which involves two sets of bound vectors, are discussed in Sec. 4.3. This material then is used throughout the rest of the chapter to facilitate the forming of expressions for quantities that play a preeminent role in connection with dynamical equations of motion, namely, two kinds of generalized forces. Sections 4.4-4.10 deal with generalized active forces, which come into play whenever the particles of a system are subject to the actions of contact and/or distance forces. Generalized inertia forces, which depend on both the motion and the mass distribution of a system, are discussed in Sec. 4.11. Mastery of the material brings one into position to formulate dynamical equations for any system possessing a finite number of degrees of fredom, as may be ascertained by reading Sec. 6.1. The necessity to cross-multiply a vector $\mathbf{v}$ with the position vector ${\mathfrak{p}}^{A B}$ from a point $A$ to a point $B$ arises frequently [see, for example, Eqs. (2.7.1) and (3.5.27)]. Now, ${\bf p}^{A B}\mathrm{\bf~\times~}{\bf v}={\bf p}^{A C}\mathrm{\bf~\times~}{\bf v},$ where $\mathfrak{p}^{A C}$ is the position vector from $A$ to any point C of the line L that is parallel to v and passes through B; and, when C is chosen properly, it may be easier to evaluate $\mathsf{\pmb{p}}^{A C}$ x v than $\boldsymbol{\mathsf{p}}^{A B}\,\times\,\boldsymbol{\mathsf{v}}.$ This fact provides the motivation for introducing the concepts of “bound" vectors and “moments" of such vectors as in Sec. 4.1. The terms “couple” and “torque,” which have to do with special sets of bound vectors, are defined in Sec. 4.2, and the concepts of "equivalence" and “replacement,” each of which involves two sets of bound vectors, are discussed in Sec. 4.3. This material then is used throughout the rest of the chapter to facilitate the forming of expressions for quantities that play a preeminent role in connection with dynamical equations of motion, namely, two kinds of generalized forces. Sections 4.4-4.10 deal with generalized active forces, which come into play whenever the particles of a system are subject to the actions of contact and/or distance forces. Generalized inertia forces, which depend on both the motion and the mass distribution of a system, are discussed in Sec. 4.11. Mastery of the material brings one into position to formulate dynamical equations for any system possessing a finite number of degrees of freedom, as may be ascertained by reading Sec. 6.1.
# 4.1 MOMENT ABOUT A POINT, BOUND VECTORS, RESULTANT # 4.1 MOMENT ABOUT A POINT, BOUND VECTORS, RESULTANT
Of the infinitely many lines that are parallel to every vector v, a particular one, say, $L$ , called the line of action of v, must be selected before M, the moment of $\mathbf{v}$ aboutapoint $P$ , can be evaluated, for M is defined as Of the infinitely many lines that are parallel to every vector v, a particular one, say, $L$ , called the line of action of v, must be selected before M, the moment of $\mathbf{v}$ aboutapoint $P$ , can be evaluated, for M is defined as
$$
M\triangleq{p}\times{v}
$$
wherepis thepositionvector from $P$ to any point on $L$ Once $L$ hasbeenspecified, $\gamma$ is said to be a bound vector, and it is customary to show $\mathbf{v}$ on $L$ in pictorial representations of $\gamma$ A vector for which no line of action is specified is called a free vector. where $p$ is the position vector from $P$ to any point on $L$ Once $L$ has been specified, $v$ is said to be a bound vector, and it is customary to show $\mathbf{v}$ on $L$ in pictorial representations of $v$. A vector for which no line of action is specified is called a free vector.
The resultant $\mathbf{R}$ of a set $\boldsymbol{S}$ of vectors $\mathbf{\nu}_{1},\dots,\mathbf{\nu}_{v}$ is defined as The resultant $\mathbf{R}$ of a set $\boldsymbol{S}$ of vectors $\mathbf{\nu}_{1},\dots,\mathbf{\nu}_{v}$ is defined as
$$ $$
\mathbb{R}\triangleq\sum_{i=1}^{\nu}\mathbb{v}_{i} {R}\triangleq\sum_{i=1}^{\nu}{v}_{i}
$$ $$
and,if $\mathbf{v}_{1},\ldots,\mathbf{v}_{\nu}$ are bound vectors, the sum of their moments about a point $P$ is called the moment of S about P. and,if $\mathbf{v}_{1},\ldots,\mathbf{v}_{\nu}$ are bound vectors, the sum of their moments about a point $P$ is called the moment of S about P.
At times, it is convenient to regard the resultant $\mathbf{k}$ of a set ${\cal{S}}$ of boundvectors $\mathbf{\nu}_{1},\dots,\mathbf{v}_{\nu}$ as a bound vector. Suppose, for example, that $\mathbf{M}^{\mathbf{s}/P}$ and ${\bf{M}}^{s/Q}$ denote the moments of ${\cal{S}}$ about points $P$ and $\mathcal{Q}$ respectivly, and $\mathbf{R}$ isregarded as abound vector whose line of action passesthrough $\boldsymbol{Q}$ . Then one can find ${\bf M}^{{\bf S}/{P}}$ simply by adding to $\mathbf{M}^{S/Q}$ themoment of Rabout $P$ for At times, it is convenient to regard the resultant $R$ of a set ${\cal{S}}$ of boundvectors $\mathbf{\nu}_{1},\dots,\mathbf{v}_{\nu}$ as a bound vector. Suppose, for example, that $\mathbf{M}^{\mathbf{S}/P}$ and ${\bf{M}}^{S/Q}$ denote the moments of ${\cal{S}}$ about points $P$ and $\mathcal{Q}$ respectivly, and $\mathbf{R}$ isregarded as abound vector whose line of action passesthrough $\boldsymbol{Q}$ . Then one can find ${\bf M}^{{\bf S}/{P}}$ simply by adding to $\mathbf{M}^{S/Q}$ themoment of Rabout $P$ for
$$ $$
\mathbf{M}^{S/P}=\mathbf{M}^{S/Q}+\mathbf{r}^{P Q}\times\mathbf{R} \mathbf{M}^{S/P}=\mathbf{M}^{S/Q}+\mathbf{r}^{P Q}\times\mathbf{R}
@ -3856,7 +3859,7 @@ The method just used to arrive at Eq. (14) has one major faw, which is that it i
# 4.4 GENERALIZED ACTIVE FORCES # 4.4 GENERALIZED ACTIVE FORCES
Ⅱ $\mathbf{\dot{\boldsymbol{u}}}_{1},\ldots,\mathbf{\boldsymbol{u}}_{n}$ are generalized speeds for a simple nonholonomic system $s$ possessing $p$ degrees o freedom in a reference frame $A$ (see Sec.2.13), $p$ quantities $\boldsymbol{\tilde{F}}_{1},...,\boldsymbol{\tilde{F}}_{p}$ callednonholonomicgeneralizedactiveforcesfor $s$ .n $A$ and $n$ quantities $F_{1},\ldots,F_{n}$ called holonomic generalized active forces for $s$ in $A$ , are defined as If $\mathbf{{\boldsymbol{u}}}_{1},\ldots,\mathbf{\boldsymbol{u}}_{n}$ are generalized speeds for a simple nonholonomic system $s$ possessing $p$ degrees of freedom in a reference frame $A$ (see Sec.2.13), $p$ quantities $\boldsymbol{\tilde{F}}_{1},...,\boldsymbol{\tilde{F}}_{p}$ callednonholonomicgeneralizedactiveforcesfor $s$ .n $A$ and $n$ quantities $F_{1},\ldots,F_{n}$ called holonomic generalized active forces for $s$ in $A$ , are defined as
$$ $$
\widetilde{F}_{r}\triangleq\sum_{i\,=\,1}^{\nu}\widetilde{\mathbf{v}}_{r}^{\,\,P_{i}}\cdot{\mathbf{R}}_{i}\qquad(r=1,\ldots,p) \widetilde{F}_{r}\triangleq\sum_{i\,=\,1}^{\nu}\widetilde{\mathbf{v}}_{r}^{\,\,P_{i}}\cdot{\mathbf{R}}_{i}\qquad(r=1,\ldots,p)

View File

@ -0,0 +1,11 @@
{
"nodes":[
{"id":"4b7faf7953451d56","x":-140,"y":-160,"width":250,"height":60,"type":"text","text":"1、debug转速"},
{"id":"24b6d0ae8c62a4eb","x":-140,"y":-20,"width":250,"height":80,"type":"text","text":"2、Kane原理理解\n- 模态叠加法理解"},
{"id":"d0a44ee1cb295fda","x":-140,"y":120,"width":250,"height":100,"type":"text","text":"3、增加自由度对应的广义主动力、惯性力如何推导"},
{"id":"e52009c9149e427f","x":160,"y":-160,"width":250,"height":60,"type":"text","text":"模块稳定性"}
],
"edges":[
{"id":"2a6d49446576cbc8","fromNode":"4b7faf7953451d56","fromSide":"right","toNode":"e52009c9149e427f","toSide":"left"}
]
}

View File

@ -5,8 +5,8 @@
{"id":"5eaa425c204bf600","type":"text","text":"**广义**惯性力","x":40,"y":-140,"width":250,"height":50}, {"id":"5eaa425c204bf600","type":"text","text":"**广义**惯性力","x":40,"y":-140,"width":250,"height":50},
{"id":"7351d2bbb065d539","type":"text","text":"动力学 ","x":-210,"y":40,"width":250,"height":60}, {"id":"7351d2bbb065d539","type":"text","text":"动力学 ","x":-210,"y":40,"width":250,"height":60},
{"id":"e398416e55019686","type":"text","text":"运动学","x":-210,"y":220,"width":250,"height":60}, {"id":"e398416e55019686","type":"text","text":"运动学","x":-210,"y":220,"width":250,"height":60},
{"id":"38d3d1a313c094ee","x":-280,"y":340,"width":250,"height":60,"type":"text","text":"广义坐标"}, {"id":"38d3d1a313c094ee","type":"text","text":"广义坐标","x":-280,"y":340,"width":250,"height":60},
{"id":"8ec17237cebe7433","x":60,"y":340,"width":250,"height":60,"type":"text","text":"广义速率"} {"id":"8ec17237cebe7433","type":"text","text":"广义速率","x":60,"y":340,"width":250,"height":60}
], ],
"edges":[ "edges":[
{"id":"647c1b45edc92b02","fromNode":"9461f7dd96103316","fromSide":"bottom","toNode":"0c8534c8ba68c9a6","toSide":"top"}, {"id":"647c1b45edc92b02","fromNode":"9461f7dd96103316","fromSide":"bottom","toNode":"0c8534c8ba68c9a6","toSide":"top"},