CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Volume Integral on Solids

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2011, 15:42
Default Volume Integral on Solids
  #1
New Member
 
Cody
Join Date: May 2011
Posts: 2
Rep Power: 0
codyf is on a distinguished road
Hi,

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?

Thanks.
codyf is offline   Reply With Quote

Old   May 25, 2011, 01:26
Default
  #2
New Member
 
Cody
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 3.2.6.3. 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

Reply

Tags
density, fluent 13.0, solid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 14:06
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15: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
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 09:02.