CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

problem compiling spalart allmaras model

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 4, 2012, 20:13
Default problem compiling spalart allmaras model
  #1
New Member
 
amgotsikmeme
Join Date: Nov 2011
Posts: 6
Rep Power: 4
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);

return
(scalar(1) + chi*fv1)
*(1/Cv2_)
*(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

Reply

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 16: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 06:23
Spalart Allmaras Turbulence model - Need article! CFD Student Main CFD Forum 0 December 27, 2004 04:28


All times are GMT -4. The time now is 02:39.