|
[Sponsors] |
August 8, 2013, 04:30 |
how to define a surface within the domain
|
#1 |
Member
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13 |
Hi,
could anybody give me a hint on if or how it is possible to evaluate for example the mass flow through a given area/surface. The problem I have is how to define the surface within the domain. I know about the possibility to define a cuttingPlane but that extends throughout the entire domain. So I'm actually looking for a method to define a surface with three points or two vectors or so. Any Ideas? Thanks a lot Hannes |
|
August 13, 2013, 14:17 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Hanness,
This is partly guessing on my part, but I suppose that you could: 1. Create a faceSet (and subsequently a faceZone) 2. Use a functionObject to evaluate the flux across this faceZone. Since a faceZone (faceSet) can be everything from 0 to all faces, then you have a lot better control over the area of integrating, than if you were to use a cutting plane. Kind regards Niels P.S. A quick search revealed the following utility, which should do exactly what you want: src/postProcessing/functionObjects/field/fieldValues/faceSource
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
August 23, 2013, 04:23 |
|
#3 |
Member
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13 |
Hi Niels,
thanks a lot for your support. I created the faceZone accordingly and evaluated the massflow with a swak expression and funkyDoCalc. I also checked with a faceSource in the functions section in the controlDict (and also the swakExpression). Those two give the same values but with opposite sign. How can that be? However, one more question remains: Is it possible to interpolate on an arbitraty plane/face? As I understand the faceSet-tool just picks the faces which are in a given box and the faces are not neccessarily oriented in the direction of the cut. So is the way to proceed to create a cuttingPlane which interpolates as I understand it and then subsequently identify the faces of the cuttingPlane which are within a given box? Thanks a lot Hannes |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
how to define kinematic and dynamic free surface boundaries in VOF? | novan tofany | Main CFD Forum | 0 | March 24, 2012 04:03 |
UDF carbon conversion | papteo | Fluent UDF and Scheme Programming | 1 | August 18, 2011 07:32 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 12:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 13, 2000 23:03 |