CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to write a transport model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2008, 20:59
Default I have a couple of questions a
  #1
New Member
 
Shawn Pfeil
Join Date: Mar 2009
Posts: 11
Rep Power: 17
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
shawn is offline   Reply With Quote

Reply


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
PDF Transport Model HELP Don FLUENT 3 August 22, 2007 16: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 12:49
PARTICLE TRANSPORT MODEL sanjib das sharma CFX 5 July 28, 2001 07:23


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