|
[Sponsors] |
July 26, 2010, 06:30 |
postprocessing for icoStructFoam solver
|
#1 |
Member
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16 |
Dear Foamer,
I want to see my results for a FSI simulation using paraview. Seeing other thread I figured out to use following commands: icoStructFoam . thingOnStick -mesh region1 icoStructFoam . thingOnStick -mesh region1 But, I faced an error executing these commands --> FOAM FATAL ERROR: Wrong number of arguments, expected 0 found 3 Invalid option: -mesh How can I fix this error? Regards, Rasoul |
|
July 26, 2010, 07:41 |
|
#2 |
Member
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16 |
I should add, executing
foamToVTK -region region1 foamToVTK -region region2 will result in making two seperate VTK folders for region1 and region2. But running two regions together has a problem. There is no link between mesh moving for two region. |
|
July 26, 2010, 22:11 |
|
#3 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Rasoul,
Try the builtin reader in PV 3.8 ("touch ${PWD##*/}.foam && paraview --data=${PWD##*/}.foam" in your case directory). It should load and display all regions in sync. Takuya |
|
July 27, 2010, 05:25 |
|
#4 |
Member
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16 |
Thank you Takuya for your responce,
I tried, but faced this error terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Aborted Searching on the net, I know that you are familiar with such error. But couldn't understand the solutions for this error. Do you have any suggestion? I added .foam extension to controlDict file. The error still exists! |
|
July 27, 2010, 09:36 |
|
#6 |
Member
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16 |
[IMG]file:///Users/rasoulshirzadeh/Desktop/thingOnStick.jpg[/IMG]Yes, you are right. Using PV 3.8 the error becomes disappeared. But still there is a gap between two regions (see the attached picture). Maybe I asked a stupid question.
I expected to see a connection between two regions. |
|
July 27, 2010, 12:08 |
|
#7 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
I don't think there's a reader that can read data that has never been saved (the point coordinates). What's the reason that you believe that the reader should be able to do that?
T |
|
July 27, 2010, 12:51 |
|
#8 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Said that, in unlikely case you are not aware,
|
|
July 28, 2010, 06:05 |
|
#9 |
Member
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 16 |
So, what is your idea about this picture?
http://openfoamwiki.net/images/e/e5/...ckDeformed.png I think it should be like this! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Getting too many iterations by velocity solving (aborting). Changing U - Solver? | suitup | OpenFOAM Running, Solving & CFD | 0 | January 20, 2010 08:45 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
Setting a B.C using UserFortran in 4.3 | tokai | CFX | 10 | July 17, 2001 17:25 |