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

Accessing phi() on arbitrary internal face

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2014, 11:38
Default Accessing phi() on arbitrary internal face
  #1
New Member
 
Join Date: Dec 2012
Posts: 13
Rep Power: 13
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


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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14: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 08:18.