CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Accessing phi() on arbitrary internal face

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 26, 2014, 12:38
Default Accessing phi() on arbitrary internal face
  #1
New Member
 
Join Date: Dec 2012
Posts: 12
Rep Power: 5
Vesposo is on a distinguished road
Hi,

assuming I have a labelList of arbitrary faces of my internal mesh. How can I access phi() on that faces to calculate the massFlow in my boundary condition routine?

I tried

this->patch().boundaryMesh().mesh().phi()[faceLabel];

without success.
Vesposo is offline   Reply With Quote

Reply

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
Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Native Meshers: blockMesh 51 May 30, 2016 10:51
How to define to right point for locationInMesh Mirage12 OpenFOAM Native Meshers: snappyHexMesh and Others 7 March 13, 2016 15:07
Accessing phi field for sampling plane francesco85 OpenFOAM Post-Processing 1 August 5, 2011 05:49
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
accessing UDS face variable chapelle FLUENT 4 September 20, 2005 11:33


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