|
[Sponsors] |
February 5, 2010, 08:03 |
renumberMesh
|
#1 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Hello,
I am confused with the use of the utility renumberMesh. In my working directory I already have following folders: "0", "constant" and "system" If I call renumberMesht, it creates an folder "1", and inside it there is a folder "polyMesh". If I start the calculation, it seems that the folder 1 is ignored. *May I modify controlDict file to enforce it starting from 1? *Do I have to replace the "polyMesh" folder from "constant" with the one in "1".
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
February 5, 2010, 16:17 |
|
#2 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Maxime,
A Good Evening to you :-)! Sorry for not responding to the other posts... I am still looking at ways of doing what you want without too much effort.... As for the way the "renumberMesh" utility works..... ** It is normal for the utility to create a new time increment folder (in your case "1") where it puts in the results of the operation (in this case... renumbering). ** You need to copy the contents of the polyMesh folder present in "1" to the usual locations "constant/polyMesh" and the resulting renumbered fields to the "0/...." location in order to use the resulting renumbered mesh in the simulation. ** After copying the polyMesh contents, you should delete the folder "1" ** If you want renumberMesh to overwrite the existing data instead of writing a new time folder, try the following: Code:
renumberMesh -constant -overwrite As for your question of starting a simulation from the last time-step written to disk.... you need to modify the following in the controlDict file: ** Change: startFrom startTime =to=> startFrom latestTime This will cause the simulation to always start from the last existing time-step irrespective of what has been specified in the "startTime" controlDict option. Regarding the mapping of your fluid simulation pressure field to solidDisplacementFoam..... if I am not mistaken, you can specify a "non-uniform" field for the "pressure" value in the solidDisplacementFoam "D" file..... If the solid Mesh is exactly the same as the Mesh you used for the fluid solution, you could copy the pressure field for the patch from the fluid solution to the solid one as a "non-uniform" boundary condition.....Remember though, that if you are using an incompressible flow solver, you need to multiply the pressure field by the density of the medium in order to convert it to standard pressure units (N/m˛). Ofcourse, the other option is to use icoFsiFoam, or icoStructFoam which directly solves a Fluid-Structure-Interaction system where the solid and fluid meshes are coupled directly at the equation level during the simulation..... We could discuss this in more detail if you are interested..... just mail me Hope this helps..... Have a nice weekend! Philippose Rajan |
|
February 8, 2010, 02:10 |
|
#3 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Good morning Philippose,
Sure I am interested with FSI problems, but I think those solvers are available from version 1.6, and I am still working with 1.5. (And I have to find time for testing them) I will test today your advices regarding renumberMesh. ;o)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
June 22, 2015, 10:37 |
renumberMesh prblem in OpenFOAM-2.3.1
|
#4 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Dear Foamer,
I am using the version of OF 2.3.1 and after importing the mesh from pointwise I would like t renumber the mesh but gives me an error like: PHP Code:
Thanks in advance! |
|
June 29, 2015, 03:28 |
|
#5 | |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 15 |
Quote:
EDIT: You will need to export the below lib folder, for example for 2.3.0: Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH::/usr/local/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib Last edited by haze_1986; June 29, 2015 at 05:03. Reason: Found solution to problem |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Technical] Creating your own mesh files | doug | OpenFOAM Meshing & Mesh Conversion | 28 | April 9, 2009 08:36 |
renumberMesh increases max aspect ratio | ayoros | OpenFOAM Bugs | 2 | April 3, 2009 08:18 |
[Other] Problem during creation of a new mesh generator | klaus | OpenFOAM Meshing & Mesh Conversion | 8 | July 18, 2005 06:25 |