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

finite area method

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2019, 10:57
Default
  #21
Member
 
Amir
Join Date: Jan 2017
Posts: 32
Rep Power: 9
albet is on a distinguished road
Hi Niels,
Thanks for your reply,
does the following code give me the right value of the dual mesh area?

Code:
scalarField faceArea = mesh.magSf().boundaryField()[patchID];
    //- dual mesh generation
scalarField dualArea = patchInterpolator.faceToPointInterpolate (faceArea);
kind regards,
Amir
albet is offline   Reply With Quote

Reply

Tags
finite area method


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
How can be calculate a surface integral in the finite element method? HectorRedal Main CFD Forum 3 March 13, 2015 09:25
Lattice Boltzmann method vs Finite Element Method and Finite Volume Method solemnpriest Main CFD Forum 3 August 12, 2013 12:00
floating point exception Finite area DiegoNaval OpenFOAM 1 November 10, 2011 14:45
formulation of finite element&finite volume method ravindra FLUENT 0 June 27, 2007 13:04
tidal flow simulation using finite volume method Jason Qiu Main CFD Forum 0 October 20, 2002 03:34


All times are GMT -4. The time now is 21:07.