CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

problem compiling spalart allmaras model

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

LinkBack Thread Tools Display Modes
Old   April 4, 2012, 20:13
Default problem compiling spalart allmaras model
New Member
Join Date: Nov 2011
Posts: 6
Rep Power: 8
bababanamzdaalma is on a distinguished road
hi everyone;

I have a problem compiling the my own spartal allmaras turbulence model. I want to set the private member function fv3 to 1 but I don`t have the code to do that. I don`t know how to change that part of the current code which is;

tmp<volScalarField> mySpalartAllmaras::fv3
const volScalarField& chi,
const volScalarField& fv1
) const
const volScalarField chiByCv2((1/Cv2_)*chi);

(scalar(1) + chi*fv1)
*(3*(scalar(1) + chiByCv2) + sqr(chiByCv2))
/pow3(scalar(1) + chiByCv2);

can anyone help me about this issue. Thanks for your concern
bababanamzdaalma 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
Problem in Buoyancy Model? dhrubo CFX 3 June 5, 2010 05:32
nut wall function for Spalart Allmaras model wei_wu OpenFOAM Programming & Development 0 February 9, 2010 17:30
Numerical integration of Spalart Allmaras turbulence model RenardP Main CFD Forum 0 June 11, 2009 14:53
About Spalart Allmaras Model SUNIL Main CFD Forum 0 December 2, 2005 07:23
Spalart Allmaras Turbulence model - Need article! CFD Student Main CFD Forum 0 December 27, 2004 05:28

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