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

postprocessing for icoStructFoam solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2010, 05:30
Default postprocessing for icoStructFoam solver
  #1
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
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
aut_iut is offline   Reply With Quote

Old   July 26, 2010, 06:41
Default
  #2
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
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.
aut_iut is offline   Reply With Quote

Old   July 26, 2010, 21:11
Default
  #3
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
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
7islands is offline   Reply With Quote

Old   July 27, 2010, 04:25
Default
  #4
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
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!
aut_iut is offline   Reply With Quote

Old   July 27, 2010, 05:45
Default
  #5
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Are you sure you are using PV 3.8? That was a familiar error until PV 3.6.x.

T
7islands is offline   Reply With Quote

Old   July 27, 2010, 08:36
Default
  #6
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
[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.
aut_iut is offline   Reply With Quote

Old   July 27, 2010, 11:08
Default
  #7
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
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
7islands is offline   Reply With Quote

Old   July 27, 2010, 11:51
Default
  #8
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Said that, in unlikely case you are not aware,
  • For the solid region, there's no point coordinates saved but are displacements with which you can warp the mesh.
  • Still you'll see a gap right after the startMeshMotion time. That's how the simulation goes, not a bug in the reader.
T
7islands is offline   Reply With Quote

Old   July 28, 2010, 05:05
Default
  #9
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
So, what is your idea about this picture?

http://openfoamwiki.net/images/e/e5/...ckDeformed.png

I think it should be like this!
aut_iut 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
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 14:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25


All times are GMT -4. The time now is 09:45.