CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

renumberMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By philippose

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2010, 07:03
Question renumberMesh
  #1
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   February 5, 2010, 15:17
Default
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
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
Basically, the new time folder which OpenFOAM creates, is only a way of writing the output of the operation without overwriting any of the original data...


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
mizzou, Ramzy1990 and miotto like this.
philippose is offline   Reply With Quote

Old   February 8, 2010, 01:10
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   June 22, 2015, 09:37
Default renumberMesh prblem in OpenFOAM-2.3.1
  #4
Senior Member
 
Join Date: May 2011
Posts: 231
Rep Power: 15
Kanarya is on a distinguished road
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:
 error while loading shared librarieslibboost_thread-mt.so.5cannot open shared object fileNo such file or directory 
can you help me?

Thanks in advance!
Kanarya is offline   Reply With Quote

Old   June 29, 2015, 02:28
Default
  #5
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Quote:
Originally Posted by Kanarya View Post
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:
 error while loading shared librarieslibboost_thread-mt.so.5cannot open shared object fileNo such file or directory 
can you help me?

Thanks in advance!
I am having the same problem, does anyone have a solution on this?

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 04:03. Reason: Found solution to problem
haze_1986 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Technical] Creating your own mesh files doug OpenFOAM Meshing & Mesh Conversion 28 April 9, 2009 07:36
renumberMesh increases max aspect ratio ayoros OpenFOAM Bugs 2 April 3, 2009 07:18
[Other] Problem during creation of a new mesh generator klaus OpenFOAM Meshing & Mesh Conversion 8 July 18, 2005 05:25


All times are GMT -4. The time now is 03:20.