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

whats the difference between patch and faceZones?

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

Like Tree1Likes
  • 1 Post By immortality

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2013, 16:21
Default whats the difference between patch and faceZones?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
I saw these examples.so when each is used for determining the flow rate?
"Mass flow examples
Usually OpenFOAM solvers define a face-flow field phi that only has to be summed on patches

patchMassFlow
{
type patchExpression;
accumulations (
sum
);
patches (
inlet
outlet
);
expression "phi";
verbose true;
}
On faceZones this is a bit more complicated as the orientation of the face has to be taken into account:

flowBeforeZone
{
type swakExpression;
valueType faceZone;
zoneName beforeFilter;
expression "phi*flip()";
accumulations (
sum
);
verbose true;
}"
namsivag likes this.
immortality 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
Problem with cyclic boundaries in Openfoam 1.5 fs82 OpenFOAM 36 January 7, 2015 01:31
[Commercial meshers] Fluent msh and cyclic boundary cfdengineering OpenFOAM Meshing & Mesh Conversion 48 January 25, 2013 04:28
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 13:23
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) sega OpenFOAM Meshing & Mesh Conversion 3 September 28, 2010 13:46
[mesh manipulation] Using createPatch in place of couplePatches sripplinger OpenFOAM Meshing & Mesh Conversion 8 November 13, 2009 08:14


All times are GMT -4. The time now is 02:01.