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

Access data of different phases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2016, 06:11
Question Access data of different phases
  #1
New Member
 
Julian Zoller
Join Date: Jun 2016
Posts: 4
Rep Power: 10
Jul_Z is on a distinguished road
Hi,

i´m trying to model flow through non-equilibrium porous media.
How can i get the temperature of the fluid and the solid cell zone in this model?

I tryed the following UDF but it causes an fatal error.

Please help me.



#include "udf.h"

DEFINE_ADJUST(Get_solid_Temperature,mixture_domain )
{
int Domain_ID_solid=2; /* From Cell Zone Conditions Task Page */
int Thread_ID_solid=3; /* From Boundary Conditions Task Page */
Domain *d_solid=Get_Domain(Domain_ID_solid); /* returned Domain-Pointer */
Thread *t_solid=Lookup_Thread(d_solid,Thread_ID_solid); /* returned Thread-Pointer */
cell_t c;
begin_c_loop(c,t_solid){
C_UDMI(c,t_solid,0)=C_T(c,t_solid);
}end_c_loop(c,t_solid)
}
Jul_Z is offline   Reply With Quote

Reply

Tags
data access, multiphase, porous media, temperature


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
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 01:51
multiphaseEulerFoam: PtrDictionary<phaseModel> phases_ of multiphasesystem fluid maybee OpenFOAM Programming & Development 9 January 27, 2014 07:24
Near-wall node data access Silmaril CFX 3 March 8, 2012 23:17
access cell data SePe OpenFOAM Post-Processing 4 December 7, 2011 11:47
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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