# how to define a surface within the domain

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

 August 8, 2013, 04:30 how to define a surface within the domain #1 Member   hannes Join Date: Mar 2013 Posts: 38 Rep Power: 4 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: Deltares, Delft, The Netherlands Posts: 1,603 Rep Power: 25 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: 38 Rep Power: 4 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 lourencosm likes this.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post novan tofany Main CFD Forum 0 March 24, 2012 05:03 papteo Fluent UDF and Scheme Programming 1 August 18, 2011 07:32 HMR CFX 3 March 6, 2011 21:10 Greg Perkins FLUENT 8 October 20, 2000 12:40 Greg Perkins FLUENT 0 October 13, 2000 23:03

All times are GMT -4. The time now is 19:29.