CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Find out the size (area) of a face

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2013, 10:13
Default Find out the size (area) of a face
  #1
New Member
 
Join Date: Apr 2013
Posts: 24
Rep Power: 4
GPesch is on a distinguished road
Hi Foamers,

following issue:
I would like to calculate the size of a face or find some routine which will return this information.

I am working with the DSMC solver. The basic lagrangian particle class is able to return the face label the particle I am looking at is in:

Although, I am quite confused, there are 3:

tetFace();
tetPt();
face();

The first two are described the same:

Return current tet face particle is in

The third one is described like this:

Return current face particle is on otherwise -1


Question: Whats the difference between a tet face and a face? Whats a tet? Whats a tri? They are talking about that in the code all the time, but i'm not familiar with that terms ...

Can anybody help me out with a simple routine of how to calculate the area of a face?

Thank you so much in advance,

best regards
Georg
GPesch 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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Face area magnitude inconsistency when exporting ReeKo FLUENT 3 November 18, 2014 01:36
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11


All times are GMT -4. The time now is 23:04.