CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF for drag law - Eulerian Model

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

LinkBack Thread Tools Display Modes
Old   July 16, 2012, 13:41
Default UDF for drag law - Eulerian Model
Fer Villa
Join Date: Apr 2012
Posts: 35
Rep Power: 7
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 13:58.
fevi84 is offline   Reply With Quote


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
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 08:11
How to choose or find Permeability for a Porous screen model using darcy's law.... arunraj CFX 4 September 27, 2011 00:20
Power - Law Viscosity Model for Polymers NickolasPl OpenFOAM 2 August 12, 2011 08:26

All times are GMT -4. The time now is 05:40.