vault backup: 2025-01-10 14:13:23
This commit is contained in:
commit
c5271fba7a
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ bin-release/
|
||||
# Ignore Smart Environment folder
|
||||
.smart-env
|
||||
.DS_Store
|
||||
workspace.json
|
||||
|
1
.obsidian/copilot-index-ef6af226357d1e8b24528ffe939abb69.json
vendored
Normal file
1
.obsidian/copilot-index-ef6af226357d1e8b24528ffe939abb69.json
vendored
Normal file
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/copilot/data.json
vendored
2
.obsidian/plugins/copilot/data.json
vendored
@ -13,7 +13,7 @@
|
||||
"googleApiKey": "",
|
||||
"openRouterAiApiKey": "",
|
||||
"defaultChainType": "llm_chain",
|
||||
"defaultModelKey": "llama3.2:latest|ollama",
|
||||
"defaultModelKey": "gemma2:latest|ollama",
|
||||
"embeddingModelKey": "nomic-embed-text|ollama",
|
||||
"temperature": 0.1,
|
||||
"maxTokens": 1000,
|
||||
|
76
.obsidian/workspace.json
vendored
76
.obsidian/workspace.json
vendored
@ -4,21 +4,17 @@
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "0974d266fd98ccc6",
|
||||
"id": "1ff1aa745237de88",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "ac38bc1a293c35ce",
|
||||
"id": "1e0d66e586fd4e4a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "力学书籍/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)/auto/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library).md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"type": "empty",
|
||||
"state": {},
|
||||
"icon": "lucide-file",
|
||||
"title": "理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)"
|
||||
"title": "新标签页"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -77,7 +73,7 @@
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 480.5
|
||||
"width": 249.5
|
||||
},
|
||||
"right": {
|
||||
"id": "de2dec4e906755e6",
|
||||
@ -136,11 +132,9 @@
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "多体求解器编写/多体+水动 platform+tower debug.md"
|
||||
},
|
||||
"state": {},
|
||||
"icon": "lucide-list",
|
||||
"title": "多体+水动 platform+tower debug 的大纲"
|
||||
"title": "大纲"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -152,13 +146,23 @@
|
||||
"icon": "git-pull-request",
|
||||
"title": "Source Control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "f96b12d12e968e83",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "copilot-chat-view",
|
||||
"state": {},
|
||||
"icon": "message-square",
|
||||
"title": "Copilot"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 386.5
|
||||
"width": 471.5
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
@ -169,13 +173,29 @@
|
||||
"templates:插入模板": false,
|
||||
"command-palette:打开命令面板": false,
|
||||
"copilot:Open Copilot Chat": false,
|
||||
"obsidian-git:Open Git source control": false,
|
||||
"smart-connections:Open: View Smart Connections": false,
|
||||
"smart-connections:Open: Smart Chat Conversation": false
|
||||
"obsidian-git:Open Git source control": false
|
||||
}
|
||||
},
|
||||
"active": "ac38bc1a293c35ce",
|
||||
"active": "1e0d66e586fd4e4a",
|
||||
"lastOpenFiles": [
|
||||
"Kane-Dynamics-Theory-Applications.pdf",
|
||||
"多体+耦合求解器/数据结构讨论.md",
|
||||
"多体+耦合求解器/images/Pasted image 20250110135444.png",
|
||||
"多体+耦合求解器/images",
|
||||
"多体+耦合求解器/images/Pasted image 20250110135219.png",
|
||||
"多体+耦合求解器",
|
||||
"多体求解器debug/多体+气动 转速 debug.md",
|
||||
"多体求解器debug/多体+水动 platform+tower debug.md",
|
||||
"多体求解器debug/images/Pasted image 20250110111923.png",
|
||||
"多体求解器debug/images",
|
||||
"力学书籍/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)/auto/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library).md",
|
||||
"conflict-files-obsidian-git.md",
|
||||
"力学书籍/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)/auto/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library).pdf",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library).pdf",
|
||||
"力学书籍/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library)/auto/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library).pdf",
|
||||
"力学书籍/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library)/auto/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library).pdf",
|
||||
"力学书籍/材料力学I(第6版) (刘鸿文) (Z-Library)/auto/材料力学I(第6版) (刘鸿文) (Z-Library).pdf",
|
||||
"力学书籍/材料力学2(第6版) (刘鸿文) (Z-Library)/auto/材料力学2(第6版) (刘鸿文) (Z-Library).pdf",
|
||||
"Ai/ollama 设置模型上下文大小.md",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/ff6d58c25daf75a738e59c457ad6d1727e768a43040f99c12f870affa8eb9f3e.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/fedca48657e38349fb64944202cad1775def81bca0fe410601430d1cdd5b1efe.jpg",
|
||||
@ -184,27 +204,11 @@
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/fb976b71473deeaa6efbd99b9a5da24f6f83316f31cdd73d8d6e17bc9f9babe7.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/fb4c62b6928811718022b460823e8ab7a90666e35e95c36021a3db7b2f8f606e.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/fa92c5ef70bfb40cd85035deade83630f297455ef12eddea12ca09d06f256bf0.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/f9625f236b79345445f801e4a0cbc943fb5cf2b3a9b2ed911c7685c3a5d82315.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/f91df87085ff5b77c9bb6cbcf8fff771bf04ac6576c1d3e29ba89a6000a1f78d.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images/f90a65dbb57599c58beacfea9cb3d017f505976e51d1e0dacba0b102aa1190ec.jpg",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library).md",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto/images",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)/auto",
|
||||
"力学书籍/结构动力学 (R. 克拉夫,J. 彭津) (Z-Library)",
|
||||
"力学书籍/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library)/auto/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library).md",
|
||||
"力学书籍/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library)/auto/images",
|
||||
"力学书籍/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library)/auto",
|
||||
"力学书籍/结构力学Ⅰ(基础教程) (龙驭球、包世华、袁驷) (Z-Library)",
|
||||
"力学书籍/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library)/auto/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library).md",
|
||||
"力学书籍/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library)/auto/images",
|
||||
"力学书籍/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library)/auto",
|
||||
"力学书籍/理论力学(II) (哈尔滨工业大学理论力学教研室 编) (Z-Library)",
|
||||
"力学书籍/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)/auto/images",
|
||||
"力学书籍/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library)/auto/理论力学Ⅰ(第8版) (哈尔滨工业大学理论力学教研室) (Z-Library).md",
|
||||
"力学书籍/材料力学I(第6版) (刘鸿文) (Z-Library)/auto/材料力学I(第6版) (刘鸿文) (Z-Library).md",
|
||||
"力学书籍/材料力学2(第6版) (刘鸿文) (Z-Library)/auto/材料力学2(第6版) (刘鸿文) (Z-Library).md",
|
||||
"conflict-files-obsidian-git.md",
|
||||
"Ai/deepSeek Api Key.md",
|
||||
"多体求解器编写/多体+水动 platform+tower debug.md"
|
||||
"Ai/deepSeek Api Key.md"
|
||||
]
|
||||
}
|
BIN
力学书籍/材料力学2(第6版) (刘鸿文) (Z-Library)/auto/材料力学2(第6版) (刘鸿文) (Z-Library).pdf
Executable file
BIN
力学书籍/材料力学2(第6版) (刘鸿文) (Z-Library)/auto/材料力学2(第6版) (刘鸿文) (Z-Library).pdf
Executable file
Binary file not shown.
BIN
力学书籍/材料力学I(第6版) (刘鸿文) (Z-Library)/auto/材料力学I(第6版) (刘鸿文) (Z-Library).pdf
Executable file
BIN
力学书籍/材料力学I(第6版) (刘鸿文) (Z-Library)/auto/材料力学I(第6版) (刘鸿文) (Z-Library).pdf
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
多体+耦合求解器/images/Pasted image 20250110135219.png
Normal file
BIN
多体+耦合求解器/images/Pasted image 20250110135219.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
多体+耦合求解器/images/Pasted image 20250110135444.png
Normal file
BIN
多体+耦合求解器/images/Pasted image 20250110135444.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
96
多体+耦合求解器/数据结构讨论.md
Normal file
96
多体+耦合求解器/数据结构讨论.md
Normal file
@ -0,0 +1,96 @@
|
||||
|
||||
# 问题1 结构体定义是否需要加大量option
|
||||
|
||||
水动 576行
|
||||
![[Pasted image 20250110135219.png]]
|
||||
|
||||
多体 1600行
|
||||
![[Pasted image 20250110135444.png]]
|
||||
```
|
||||
pub struct MorisonMOutput {
|
||||
|
||||
pub memberid: i32, // Member ID for requested output [-]
|
||||
|
||||
pub noutloc: i32, // The number of requested output locations [-]
|
||||
|
||||
pub nodelocs: Option<Vec<f64>>, // Normalized locations along user-specified member for the outputs [-]
|
||||
|
||||
pub memberidindx: i32, // Index for member in the master list [-]
|
||||
|
||||
pub meshindx1: Option<Vec<i32>>, // Index of node in Mesh for the start of the member element [-]
|
||||
|
||||
pub meshindx2: Option<Vec<i32>>, // Index of node in Mesh for the end of the member element [-]
|
||||
|
||||
pub memberindx1: Option<Vec<i32>>, // Index of Member nodes for the start of the member element [-]
|
||||
|
||||
pub memberindx2: Option<Vec<i32>>, // Index of Member nodes for the end of the member element [-]
|
||||
|
||||
pub s: Option<Vec<f64>>, // Linear interpolation factor between node1 and node2 for the output location [-]
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
# 问题2 array数组定义
|
||||
|
||||
|
||||
```
|
||||
pub struct AD_Init{
|
||||
pub Ct_final: ArrayBase<OwnedRepr<f64>, Dim<[usize; 3]>>,
|
||||
|
||||
pub Cq_final: ArrayBase<OwnedRepr<f64>, Dim<[usize; 3]>>,
|
||||
|
||||
pub CP_final: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>,
|
||||
|
||||
pub position_g: Vec<[ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>; 3]>,
|
||||
|
||||
pub trans_disp: Vec<[ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>; 3]>,
|
||||
}
|
||||
|
||||
impl AD_Init {
|
||||
|
||||
pub fn new() -> Self {
|
||||
Ct_final: ArrayBase::zeros((0, 0, 0)),
|
||||
|
||||
Cq_final: ArrayBase::zeros((0, 0, 0)),
|
||||
|
||||
CP_final: ArrayBase::zeros(0),
|
||||
|
||||
position_g: Vec::new(),
|
||||
|
||||
trans_disp: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
pub struct EDParameterType{
|
||||
pub r_nodes: Array1<f64>, // 分析节点到轮毂的半径
|
||||
pub pitch_axis: Array2<f64>, // 分析节点的变桨轴
|
||||
pub twr_fasf: Array3<f64>, // 塔前后形状函数
|
||||
pub twr_sssf: Array3<f64>, // 塔侧向形状函数
|
||||
(ArrayBase<OwnedRepr<f64>, Dim<[usize; 3]>>)
|
||||
}
|
||||
impl EDParameterType {
|
||||
|
||||
pub fn new() -> EDParameterType {
|
||||
|
||||
EDParameterType {
|
||||
// 初始化一个任意维度
|
||||
r_nodes: Array1::zeros(1),
|
||||
pitch_axis: Array2::zeros((1, 1)),
|
||||
twr_fasf: Array3::zeros((3, 3, 3)),
|
||||
twr_sssf: Array3::zeros((3, 3, 3)),
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
// 在代码中根据需要创建维度
|
||||
p.r_nodes = Array1::zeros(p.bld_nodes as usize);
|
||||
p.pitch_axis = Array2::zeros((p.num_bl as usize, p.bld_nodes as usize));
|
||||
p.twr_fasf = Array3::zeros((2, p.t_top_node as usize+ 1, 3));
|
||||
```
|
BIN
多体求解器debug/images/Pasted image 20250110111923.png
Normal file
BIN
多体求解器debug/images/Pasted image 20250110111923.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
4
多体求解器debug/多体+气动 转速 debug.md
Normal file
4
多体求解器debug/多体+气动 转速 debug.md
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
# 问题
|
||||
转速在30s之后一直掉
|
||||
![[Pasted image 20250110111923.png]]
|
Loading…
x
Reference in New Issue
Block a user