|
[Sponsors] |
April 4, 2012, 21:13 |
problem compiling spalart allmaras model
|
#1 |
New Member
amgotsikmeme
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
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 |
|
|
|
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 |