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

SampleDict patch export surface size amp orientation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2008, 12:30
Default Hello, in OpenFOAM 1.4.1 I
  #1
New Member
 
Axel Hackbarth
Join Date: Mar 2009
Posts: 6
Rep Power: 17
axel is on a distinguished road
Hello,

in OpenFOAM 1.4.1 I used a script that I derived from liftDragTool to export some essential data for lift and drag calculations in MatLab. I moved from 1.4.1 to 1.5, and liftDragTool cannot be compiled any more (and I have just basic C++ knowledge, not enough for porting).

That motivated me to try the sample command which comes with OpenFOAM to export data being more integrated into OF environment.
Most of the data can be extracted, but I did not manage to extract the surface area and orientation of each cell.
I used the OF c++ command mesh.Sf().boundaryField()[patchI][pointI].x() etc.
Is it possible to extract this with sampleDict?

Regards,

Axel
axel is offline   Reply With Quote

Old   September 29, 2008, 14:42
Default Hi Axel You would probably
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Axel

You would probably find the following tool interesting:

http://www.cfd-online.com/OpenFOAM_D...es/1/8402.html

It is default in OF1.5.

/ Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export patch profile johndeas OpenFOAM Running, Solving & CFD 5 January 25, 2008 05:27
ICEM How to display surface elem. orientation Luk CFX 2 September 8, 2006 10:37
Patch size anja OpenFOAM Post-Processing 2 June 2, 2006 11:22
Patch mesh export ariorus OpenFOAM 3 March 7, 2006 06:41
Surface orientation in ICEM5..Please help. Pete CFX 1 November 24, 2004 06:52


All times are GMT -4. The time now is 10:02.