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

reconstructPar error !

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

Like Tree3Likes
  • 2 Post By wyldckat
  • 1 Post By Hanzo

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2011, 12:55
Unhappy reconstructPar error !
  #1
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 18
Rep Power: 7
Zinedine is on a distinguished road
Hi everybody

I have using reconstrucPar and it has been workiong fine until I had the following error:

[menzk@node16 oven3]$ reconstructPar -latestTime
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.1-03e7e056c215
Exec : reconstructPar -latestTime
Date : Nov 16 2011
Time : 16:51:53
Host : node16.beowulf.cluster
PID : 30586
Case : /home/abax2_a/menzk/OpenFOAM/menzk-1.7.1/run/oven3
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
word::stripInvalid() called for word pvsm
For debug level (= 2) > 1 this is considered fatal
Aborted


Has anybody encontered such error ?

Any help is kindly appreciated

Thanks

Z.
Zinedine is offline   Reply With Quote

Old   November 16, 2011, 13:48
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 727
Rep Power: 20
mturcios777 will become famous soon enough
The stripInvalid function is called when there are invalid characters in a string that need to be removed. Sounds like the word pvsm somehow has an invalid character, and that at the debug level you are running at (2) this is crashing the program. I looked at reconstructPar for OF 2.0.x and can't find the word variable pvsm. Or perhaps pvsm is the word that stripInvalid is being called on, in which case it doesn't make sense why stripInvalid would be called. Can you identify what PVSM is?
mturcios777 is offline   Reply With Quote

Old   November 16, 2011, 17:24
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
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 to all!

I believe I know what the problem is:
  • PVSM is usually a ParaView state file.
  • reconstructPar does not know which files were generated by the executed solvers, so it tries to reconstruct whatever is in each "processor*" folder.
  • Therefore, one or more ParaView files are contaminating one or more processor folders, simply because OpenFOAM does not use the same file format as ParaView!
Best regards,
Bruno
Hanzo and babakflame like this.
__________________
wyldckat is offline   Reply With Quote

Old   November 16, 2011, 18:49
Smile
  #4
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 18
Rep Power: 7
Zinedine is on a distinguished road
Hi Bruno
What do you suggest then ?
Is there anything I can do to make the utility work or not?
Regards

Z.
Zinedine is offline   Reply With Quote

Old   November 17, 2011, 04:14
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Zinedine,

Quote:
Originally Posted by wyldckat View Post
  • Therefore, one or more ParaView files are contaminating one or more processor folders, simply because OpenFOAM does not use the same file format as ParaView!
I implied that all you had to do is remove (or move) files created by ParaView that are located in the processor folders!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 17, 2011, 08:38
Default reconstructPar works fine now - Question: RefineMesh
  #6
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 18
Rep Power: 7
Zinedine is on a distinguished road
Hi Bruno

thanks for your assitance - you were right.
there was some paraview psvm file in the case root directory,.
I moved them and here we go the reconstrcuPar worked fine !

I was wondering if you would know anything about mesh refinement.
I converted a mesh file from ANSYS Fluent to OpenFoam.

The application is for high speed jets applications - it seems that when I
increase the jet velocity (i.e. I am using simpleFoma with k-e turbulence model currently) I do not get any convergence.
Initially Im thought that my settings were not set properly.
Howeever when I undertake the same simjulation by loweirng the kjet velocity to 1m/s - Alleluya ! It works really fine.

I believe that the issue is the mesh is not fione enough to capture the
turbulent scales as higher speeds (i.e. velocity could reached 40m/s !).

I have tried to look into how the refine mesh works but it is not clear.

Would you have any idea of how to refine portion of a mesh please?
Any concrete example and the various to undergo in order to apply it
to my case ?

Thanks for your help.

Regards

Z.
Zinedine is offline   Reply With Quote

Old   November 17, 2011, 08:44
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Zinedine,

In the tutorials folder run these commands:
Code:
find . -name Allrun | xargs grep 'refine' -sl
find . -name refineMeshDict
You can also run the last one on OpenFOAM's folder for more examples.

Those two command lines will tell you which tutorials and example dictionaries are available in OpenFOAM.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 27, 2012, 01:25
Default
  #8
Member
 
Join Date: Nov 2010
Location: Tokyo / Japan
Posts: 40
Rep Power: 7
Hanzo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Zinedine,


I implied that all you had to do is remove (or move) files created by ParaView that are located in the processor folders!

Best regards,
Bruno
Today I encountered the same and I think i figured the reason:

Yesterday, I ran paraFoam and created a pvsm statefile calles state01.pvsm. After I continued to work with paraFoam a file called state01.pvsm; (note the ; ) was created. I only needed to remove this somewhat strange state01.pvsm; file and then it worked fine again. The file was not located in any of my processor* folders but directly in my case directory. So I guess these strange files should not be located anywhere among the folders.

Best,
Hanzo
wyldckat likes this.
Hanzo is offline   Reply With Quote

Old   January 10, 2015, 22:21
Default
  #9
Senior Member
 
Ziad Boutanios
Join Date: Mar 2009
Location: Montréal, Canada
Posts: 114
Rep Power: 9
ziad is on a distinguished road
This happened to me too with decomposePar and OF2.2.x. The *.pvsm; files are created by Paraview by mistake when you save pvsm files with similar file names. As you're creating the new pvsm file with a similar name Paraview lists them in the saving window under a higher hierarchical listing with a ";" character appended to the file extension (pvsm in this case). In my case these are the offending file names:
Slice_withGlyphs_.10s.pvsm
Slice_withGlyphs_.25s.pvsm
Slice_withGlyphs_.50s.pvsm
They were listed under Paraview as Slice_withGlyphs_...s.pvsm. See attached screen capture.

Funny it should happen with decompose/reconstructPar, definitely a bug.
Attached Images
File Type: png paraview_pvsm_listing.png (50.7 KB, 9 views)
ziad is offline   Reply With Quote

Old   January 11, 2015, 15:37
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
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 Ziad,

I've tested this with OpenFOAM 2.2.2, 2.2.x, 2.3.0 and 2.3.x and it seems that this bug has already been fixed as of OpenFOAM 2.3.0.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 11, 2015, 16:12
Default
  #11
Senior Member
 
Ziad Boutanios
Join Date: Mar 2009
Location: Montréal, Canada
Posts: 114
Rep Power: 9
ziad is on a distinguished road
Good to know, thanks Bruno

It's also a bug with Paraview since the pvsm; file is created by Paraview not OF. Happens with a local install of Paraview 4.1.0 and its native foam reader, as well as the OF ThirdParty 3.12.0 version and paraFoam.
ziad is offline   Reply With Quote

Reply

Tags
openfoam 1.7.1, reconstrucpar

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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
nonNewtonian viscosity model mhassani OpenFOAM Programming & Development 5 January 7, 2013 10:27
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 19:52.