CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

How to write a transport model

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

LinkBack Thread Tools Display Modes
Old   October 22, 2008, 19:59
Default I have a couple of questions a
New Member
Shawn Pfeil
Join Date: Mar 2009
Posts: 11
Rep Power: 10
shawn is on a distinguished road
I have a couple of questions about writing a transport model.

I would like to model mixing with a viscosity which is a function of the volume fraction gamma. I think the best way to go about this would be to create a new transportModel. I looked at the header and c file for the CrossPowerLaw model, but am still a bit confused.

Can I introduce gamma using the syntax

const volScalarField& gamma

in the constructor? I would then need a way to call the local gamma to calculate the viscosity, in a way similar to the strainRate() function?

My end goal is to be able to specify coeficients for a polynomial in gamma n0,n1,n2,... so that

nu = n0+n1*gamma+n2*pow(gamma,2)+....

Can I introduce the set of n's the same way the nu_0 and etc are introduced in the CrossPowerLaw header and C file?

Am I thinking about this correctly? Have I missed some documentation that already covers this?

shawn 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
PDF Transport Model HELP Don FLUENT 3 August 22, 2007 15:27
particle transport model Fabiana CFX 0 January 10, 2006 16:00
Species Transport Model Sam FLUENT 0 November 12, 2005 22:42
Species Transport model Karthick FLUENT 4 April 22, 2004 11:49
PARTICLE TRANSPORT MODEL sanjib das sharma CFX 5 July 28, 2001 06:23

All times are GMT -4. The time now is 04:12.