CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

How to get coordinates.

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

LinkBack Thread Tools Display Modes
Old   March 23, 2012, 20:29
Default How to get coordinates.
New Member
Join Date: Mar 2012
Posts: 1
Rep Power: 0
T/Kohaku is on a distinguished road
Hello everyone...

I'm a newbie of OpenFOAM.
Now, I'm trying to make a post-program like 'vorticity'.
But, I have no idea how to find the coordinates.

reading vorticiry.c and more...
searching any other documents from web...

I have found out how to get xyz-componet of vector U.
like below
volVectorFiled U

Info << "U(x)= " << U.internalField()[numID].x() << endl;
Does "numID" mean the ID of cell?

However, I haven't discovered how to get coordinates corresponding to vector U.

Please give me advice about it

best regards.
T/Kohaku is offline   Reply With Quote


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 in cylindrical coordinates in fluent Randheer Yadav FLUENT 2 January 18, 2015 17:25
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 01:07
Where to find airfoils with more coordinates pts? KB Main CFD Forum 2 March 24, 2008 00:18
Coordinate's tranformation tommy FLUENT 0 February 13, 2004 03:19
Calculation in cylindrical coordinates Franz Wingelhofer CFX 0 December 28, 1999 08:46

All times are GMT -4. The time now is 18:25.