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

UDF for drag law - Eulerian Model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2012, 14:41
Default UDF for drag law - Eulerian Model
  #1
Member
 
Fer Villa
Join Date: Apr 2012
Posts: 35
Rep Power: 14
fevi84 is on a distinguished road
I want to write a udf for drag law that included the interaction between the primary phase and second phase secundary, I have three phases. How I can identify the second phase secundary in the macro???:

DEFINE_EXCHANGE_PROPERTY (name, c, mixture_thread, second_column_phase_index, first_column_phase_index)

I tried with:

DEFINE_EXCHANGE_PROPERTY(drag_law,cell,mix_thread, 0, 2)

where 0 is the index for the primary phase and 2 is the index for the second phase secundary. But this did not work.

If anyone knows, please help me.

Last edited by fevi84; July 16, 2012 at 14:58.
fevi84 is offline   Reply With Quote

Reply

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
How to access only one phase in multiphase model by UDF wersoe Fluent UDF and Scheme Programming 1 January 4, 2017 08:11
modelling solids viscosity in eulerian multiphase model derkaiser FLUENT 1 December 5, 2011 04:42
boling law UDF help jenyam Fluent UDF and Scheme Programming 0 October 10, 2011 09:11
How to choose or find Permeability for a Porous screen model using darcy's law.... arunraj CFX 4 September 27, 2011 01:20
Power - Law Viscosity Model for Polymers NickolasPl OpenFOAM 2 August 12, 2011 09:26


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