|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Sven Degner
Join Date: Mar 2009
Location: Zürich
Posts: 52
Rep Power: 6 ![]() |
hi,
I need some help, with (hope so) a little problem how its possible to write out the coordinate und a field value in the same output deck, like this //U>>Field //------------------------------------ x y z ( Ux Uy Uz ) //where x are the X-coordinate of the cell ( point.pos; pos.x() )
//and Ux the X-komponent of the velocity Thanks for any help! |
|
|
|
|
|
|
|
|
#2 |
|
Member
Sven Degner
Join Date: Mar 2009
Location: Zürich
Posts: 52
Rep Power: 6 ![]() |
almost the solution!
the coordinate for the Cell centre is "mesh.C()" and for a single component "mesh.C().component(vector::X)" at the moment I got the two vector fields: coordinate mesh.C() ________________U ------------------------------------------------- x _____ y _______ z _______________Ux _____Uy _______ Uz or mesh.C().component(vector::X) ; mesh.C().component(vector::Y); mesh.C().component(vector::Z) ; U.component(vector::X) ; U.component(vector::Y) ; U.component(vector::z) ; but how can I merge the fields and generate one output?
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 6 ![]() |
Hi,
porbes function will be the right thing for you. Look at $FOAM_UTILITIES/postProcessing/sampling/probeLocations/ Christof |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |
| Output transient file to csv | Ben | CFX | 3 | September 23, 2008 08:17 |
| Output Format of MetaMesh | t42 | OpenFOAM Meshing & Mesh Conversion | 0 | August 3, 2007 04:28 |
| can "output control " output Nu in expression? | prayskyer | CFX | 3 | July 7, 2006 19:37 |
| Help with DPM UDF for OUTPUT needed | Zhengcai Ye | FLUENT | 0 | January 5, 2004 16:58 |