|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Qi Wang
Join Date: Oct 2024
Posts: 7
Rep Power: 3 ![]() |
I have the mesh and some sample restart files and need to add a vortex on top of the solution and restart. Can anyone give me some information what's the easiest way to do this?
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 826
Rep Power: 23 ![]() |
You can write the restart file as an ASCII file and read/write it with a simple python script using read_csv. If you open the restart.csv file you will see that the first line is a header looking like this:
Code:
"PointID","x","y","z","Pressure","Velocity_x","Velocity_y", |
|
|
|
|
|
![]() |
| Tags |
| su2 8.0.0, su2 aerodynamic noise |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compressible flows with larger Courant numbers | Tobi | OpenFOAM Running, Solving & CFD | 5 | February 26, 2021 16:20 |
| Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
| Foam::error::printStack after large bounding epsilon events | StoneCFD727 | OpenFOAM Running, Solving & CFD | 1 | January 1, 2018 18:04 |
| Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
| calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |