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

problem compiling spalart allmaras model

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

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

Advanced Search
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 Off
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 06: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 15: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 15:10.