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

How to extract components from probed u field

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2010, 08:54
Default How to extract components from probed u field
  #1
New Member
 
Join Date: Mar 2010
Posts: 11
Rep Power: 16
Sandu69 is on a distinguished road
Hello foamers,

could anybody explain to me, how it is possible to extract u components from a probed u field or to calculate the u magnitude (I used the probes1 function in openfoam)?
I used this code:

functions
(
probes1
{

....

// Fields to be probed. runTime modifiable!
fields
(
p
U <- do I have to change this?
);
}
);

I need a result file that contains either ux, uy, uz, or u magnitude versus time.
I would be very happy if somebody could help me with this.
Thanks,
Sandu69
Sandu69 is offline   Reply With Quote

Old   March 29, 2010, 09:15
Default
  #2
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
I know one trick which might be helpful here, but I'm not sure whether it is exactly what you need.

Using ParaView you can use option File > Save Data > e.g. CSV file

Last edited by piprus; March 29, 2010 at 11:17.
piprus is offline   Reply With Quote

Old   March 29, 2010, 10:02
Default
  #3
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 16
panda60 is on a distinguished road
excel can read probe files ,and automaticly seperate them.

Good luck.
panda60 is offline   Reply With Quote

Old   March 29, 2010, 11:19
Default
  #4
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
Quote:
Originally Posted by panda60 View Post
excel can read probe files ,and automaticly seperate them.

Good luck.

Exactly!! That's what I thought, saying, use CSV files :P
piprus is offline   Reply With Quote

Old   March 29, 2010, 11:59
Default
  #5
New Member
 
Join Date: Mar 2010
Posts: 11
Rep Power: 16
Sandu69 is on a distinguished road
Ok, thanks to you all, I will try that :-)
Sandu69 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
Phase Field modeling in OpenFOAM adona058 OpenFOAM Running, Solving & CFD 35 November 16, 2021 01:16
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[General] Paraview Vector Field simone Marras ParaView 2 April 3, 2013 07:34
Extract velocity field in certain time step to MATLAB spatialtime CFX 3 September 9, 2009 19:30
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 08:37.