CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

extract certain vector component while OF is running

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

LinkBack Thread Tools Display Modes
Old   August 4, 2012, 03:13
Default extract certain vector component while OF is running
New Member
Join Date: May 2011
Posts: 3
Rep Power: 8
ngcw1986 is on a distinguished road
Dear foamers!

Now I am using a stl surface to sample some data while OF is running (using fieldFunctionObjects with faceSource). Everything is OK, but the data I need is only one component of vector U. OF put out data using a format as "(U.x U.y U.z)" and it brings more trouble to me when I further process these data (I have to delete the bracket and the component I do not need).

When the data is massive, the labor is massive, too. I wonder may be there is a way to put out the very component of a vector field I need, and I tried a lot of syntax, such as "U.component(0), U.x". Unfortunately, I failed again and again. May be someone could give me some light on it (a efficient way to handle the massive data is also welcome).

Thank you very much! Best wishes!
ngcw1986 is offline   Reply With Quote


data extract, run-time processing

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
What do you CFD guys do during a long simulation running? bearcat Main CFD Forum 5 July 23, 2009 08:08
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Tutorial is not running on star-CD version 3.2 Arnab Siemens 0 August 30, 2004 15:43
star is not running the simulation in windows Arnab Siemens 1 August 2, 2004 02:40

All times are GMT -4. The time now is 17:54.