CFD Online Logo CFD Online URL
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

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

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?


axel is offline   Reply With Quote

Old   September 29, 2008, 13:42
Default Hi Axel You would probably
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:

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


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 04:27
ICEM How to display surface elem. orientation Luk CFX 2 September 8, 2006 09:37
Patch size anja OpenFOAM Post-Processing 2 June 2, 2006 10:22
Patch mesh export ariorus OpenFOAM 3 March 7, 2006 05:41
Surface orientation in ICEM5..Please help. Pete CFX 1 November 24, 2004 05:52

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