|August 4, 2012, 03:13||
extract certain vector component while OF is running
Join Date: May 2011
Posts: 3Rep Power: 7
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!
|data extract, run-time processing|
|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||CD-adapco||0||August 30, 2004 15:43|
|star is not running the simulation in windows||Arnab||CD-adapco||1||August 2, 2004 02:40|