欧拉公式求圆周率的matlab代码-Riemann-Solvers:黎曼求解器和流体动力学数值方法

上传者: 38637878 | 上传时间: 2024-01-08 12:25:13 | 文件大小: 122KB | 文件类型: ZIP
欧拉公式求长期率的matlab代码黎曼解算器 代码段摘自Eleuterio F. Toro的Riemann解算器和“流体动力学数值方法” ,其中详细讨论了CFD的要点。 线性对流(ch2&ch5&ch13) 同时检查了平滑和不连续的初始速度曲线。 确切的解决方案很简单,只是沿特征线追溯即可。 采用不同的方案进行比较: CIR 弗里德里希斯(Lax-Friedrichs) Lax-Wendroff 暖光 戈杜诺夫 WAF 用法: 编译: g++ smooth.cc -std=c++11 -o advection.out或g++ discontinuous.cc -std=c++11 -o advection.out 执行: ./advection.out 情节: python3 animate.py data1.txt data2.txt ( data1.txt和data2.txt是您要比较的两种情况) Invisid Burgers方程(ch2和ch5) 仅检查不连续的初始速度曲线。 从分析上讲,确切的解决方案是冲击波或稀疏波。 采用不同的方案进行比较: CIR 弗里德里希斯(Lax-

文件下载

资源详情

[{"title":"( 64 个子文件 122KB ) 欧拉公式求圆周率的matlab代码-Riemann-Solvers:黎曼求解器和流体动力学数值方法","children":[{"title":"Riemann-Solvers-master","children":[{"title":"Euler Equation","children":[{"title":"Exact","children":[{"title":"inp.dat <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 11.65KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"HLLC","children":[{"title":"inp.dat <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"direct.cc <span style='color:#111;'> 15.06KB </span>","children":null,"spread":false},{"title":"pressure_based.cc <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Osher","children":[{"title":"inp.dat <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 13.61KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Lax-Friedrichs","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 13.55KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"FVS","children":[{"title":"van Leer","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.14KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"Steger-Warming","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.01KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"AUSM","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Richtmyer","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 13.70KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"Roe","children":[{"title":"inp.dat <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.43KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"HLL","children":[{"title":"inp.dat <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"rusanov.cc <span style='color:#111;'> 13.96KB </span>","children":null,"spread":false},{"title":"direct.cc <span style='color:#111;'> 14.37KB </span>","children":null,"spread":false},{"title":"pressure_based.cc <span style='color:#111;'> 14.24KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"Approximate-state","children":[{"title":"TRRS","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.81KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"ANRS","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 16.11KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"AIRS","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 15.46KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"TSRS","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"PVRS","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.96KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Godunov","children":[{"title":"inp.dat <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 14.67KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"MUSCL","children":[{"title":"inp.dat <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"basic.cc <span style='color:#111;'> 16.08KB </span>","children":null,"spread":false},{"title":"tvd.cc <span style='color:#111;'> 17.12KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"Linear Advection","children":[{"title":"smooth.cc <span style='color:#111;'> 12.89KB </span>","children":null,"spread":false},{"title":"discontinuous.cc <span style='color:#111;'> 12.97KB </span>","children":null,"spread":false},{"title":"animate.py <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"clean.py <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"Invisid Burgers","children":[{"title":"animate_all.py <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"main.cc <span style='color:#111;'> 10.60KB </span>","children":null,"spread":false},{"title":"animate_single.py <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明