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

How to (re)construct the constant/polymesh directory ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By bastil

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2011, 05:10
Default How to (re)construct the constant/polymesh directory ?
  #1
New Member
 
clement
Join Date: May 2011
Location: München
Posts: 12
Rep Power: 7
Clementhuon is on a distinguished road
Hi everybody,

As I'm new on this Forum, I will present myself quickly. I' working in a german company as CFD engineer since 7 months. This two last months I tried to use OpenFOAM to make some HVAC simulations.

I made a simulation (with a mesh of 20 million cells) last week on parallel with 6 processors. But I deleted by mistake the constant/polymesh directory. I still have the polymesh directory on the 6 different processors. But now I'm not available (without this constant/polymesh files) to postprocess the calculation.

before I deleted it I allready made the reconstructPar -latestTime so I also got the results of my simulation for the latestTime.

Is it possible, with the data of the latestTime and the different processors directory to recreate the constant/polymesh files ?

Thank you for your help

Clement
Clementhuon is offline   Reply With Quote

Old   July 21, 2011, 05:17
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 36
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Clement and welcome to the forum!

It should be as simple as running:
Code:
reconstructPar -constant
When in doubt you can always check other options given by OpenFOAM applications by running with "-help", e.g.:
Code:
reconstructPar -help
Good luck!
Bruno
__________________
___
I'll be at OFW11 in Portugal
wyldckat is offline   Reply With Quote

Old   July 21, 2011, 05:41
Default
  #3
New Member
 
clement
Join Date: May 2011
Location: München
Posts: 12
Rep Power: 7
Clementhuon is on a distinguished road
Thanks for your attention b........

........ but this way doesn't work :

FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 89
Reading "/home/daten/projects/audi/defrost_analysis/CFD/OpenFOAM_run_2_pw_test_2.0.x/constant/polyMesh/points" at line 0
First token could not be read or is not the keyword 'FoamFile'


It seems that by doing reconstructPar -constant OpenFOAM try to construct the mesh directly from the constant directory and not from the processors directory. This is not going to help me because I don't have the constant/polymesh anymore .......... another idea may be ??

Thanks

Clement
Clementhuon is offline   Reply With Quote

Old   July 21, 2011, 07:08
Default
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 488
Rep Power: 12
bastil is on a distinguished road
Quote:
Originally Posted by Clementhuon View Post
It seems that by doing reconstructPar -constant OpenFOAM try to construct the mesh directly from the constant directory
Did you run reconstructPar or reconstructParMesh? The second is the one you need.

Another option would be to use the native OpenFOAM reader for Paraview and do the postprocessing directly on an decomposed case.

Regards Bastian
wyldckat likes this.
bastil is offline   Reply With Quote

Old   July 21, 2011, 07:54
Default
  #5
New Member
 
clement
Join Date: May 2011
Location: München
Posts: 12
Rep Power: 7
Clementhuon is on a distinguished road
Thank you (you two) really much,

that worked perfectly with
Quote:
reconstructParMesh -constant
and then
Quote:
reconstructPar -latestTime
You just saved my life .............

Clement
Clementhuon is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam install script Error during paraFoam installation SePe OpenFOAM Installation 10 June 19, 2010 15:15
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Re : Problem Installing OpenFOAM on Centos -5.3 mohanphy OpenFOAM Installation 1 February 7, 2010 20:09
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43


All times are GMT -4. The time now is 13:30.