|
[Sponsors] |
March 16, 2022, 14:55 |
renumberMesh while solving
|
#1 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Hello everyone,
I have used renumberMesh on a case that was already being solved, and I am not sure if it has messed up anything, since whenever I open my solution in paraview, the field looks weird and somehow wrong. Attached are photos of same fields of the renumberMesh case and the normal case. Thanks! |
|
March 17, 2022, 03:43 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Depending on what actually happened, you might have seriously messed up your case.
When you start your solver, the solver reads the mesh from the polyMesh directory, and then holds this information in memory. This information is then used when writing the fields. If you execute renumberMesh while the solve is running, you are changing the information in the polyMesh directory. The solver, most probably will not be aware of the changes. Hence, the solver writes its fields using the old mesh data, while all you post-processing operations use the new mesh data. This is akin to remodelling the flat of a blind person, without telling him/her. |
|
March 17, 2022, 14:18 |
|
#3 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
aha i understand, I do have some timestep solutions from before i executed the renumberMesh. I will try to replace the polyMesh data with the old one and open the old solutions.
Thanks! |
|
March 18, 2022, 03:27 |
|
#4 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
If you have run renumberMesh with the -overwrite option, then the old mesh is lost.
Whether you can fix your case or not, depends on what exactly you did, and whether the necessary information exists somewhere else. The best way forward, would be to clear the slate; renumber the mesh, and then afterwards run the simulation. If you are unlucky, the already computed time steps are junk. |
|
March 18, 2022, 05:57 |
|
#5 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
I have the old polyMesh data and already computed some timesteps before running the renumberMesh. I tried however copying the old mesh data into the case and viewing it with the old timesteps in paraview, this has not fixed anything.
What might be the problem? Thanks! |
|
Tags |
openfoam9, paraview, renumbering, renumbermesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
laplacianFoam with source term | Herwig | OpenFOAM Running, Solving & CFD | 17 | November 19, 2019 14:47 |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |