CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Volume Integral on Solids

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

LinkBack Thread Tools Display Modes
Old   May 24, 2011, 14:42
Default Volume Integral on Solids
New Member
Join Date: May 2011
Posts: 2
Rep Power: 0
codyf is on a distinguished road

Under Results -> Reports -> Volume Integrals, when I do a Volume Integral using Density -> Density, I am getting zero mass for the two solids in my model. When I use Density -> "Density All" I get the correct masses for the solids (kg/m3*m3). I have two fluid and two sold zones in the model, the fluid zones calculate the same using either "Density" or "Density All" for the Field Variable.

The Minimum & Maximum "Density" for the solid zones also report to zero, but are non-zero for "Density All."

Really, I'd like to compute the Mass-Integral of Temperature -> Internal Energy (J/kg*kg/m3*m3), which also comes out zero for the two solid zones.

I have density, specific heat, and thermal conductivity defined for the solid material.

What am I missing?

codyf is offline   Reply With Quote

Old   May 25, 2011, 00:26
New Member
Join Date: May 2011
Posts: 2
Rep Power: 0
codyf is on a distinguished road
To follow up ...

The field variable documentation (33.4) says plots/reports of Density include fluid zones only, and of Density All include both fluid and solid zones.

I created a DEFINE_ON_DEMAND UDF to report the mass integral of enthalpy (sum of cell enthalpy*density*volume) that works for both solid and fluid zones. I'm not sure how internal energy is calculated; also, I get an access violation for cell pressure C_P(c,t) in the solid zone. I couldn't get "domain = Get_Domain(1)" and "Thread *t = Lookup_Thread(domain, id)" to work together within the same function, I finally used the format of the example in Domain Pointer of the UDF manual.

Another way to do it, I think, is to make the solid zone a fluid zone, and fix the x, y, z velocities to zero for the fluid zone under Cell Zone Conditions.
codyf is offline   Reply With Quote


density, fluent 13.0, solid

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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

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