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

SpectEddyVisc LES model

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2009, 14:12
Default Choosing spectEddyVisc as LESm
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
Choosing spectEddyVisc as LESmodel in channel 395 tutorial gives the following error using V1.3:

--> FOAM FATAL ERROR : : gsf not dimensionless

From function erfc(const tmp<geometricfield<scalar,> >& gsf)
in file /home/maka/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/GeometricScalarField.C at line 742.

FOAM aborting

Foam::error::printStack(Foam:stream&)
Foam::error::abort()
Foam::tmp<foam::geometricfield<double,> > Foam::erfc<foam::fvpatchfield,>(Foam::tmp<foam::ge ometricfield<double,> > const&)
Foam::LESmodels::spectEddyVisc::k() const
Foam::LESmodels::GenEddyVisc::B() const
channelOodles [0x41c042]
__libc_start_main
__gxx_personality_v0


Best regards,
Maka.
maka is offline   Reply With Quote

Old   January 23, 2009, 14:23
Default Try with tmp
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Try with

tmp<volscalarfield> spectEddyVisc::k() const
{
volScalarField Eps = 2*nuEff()*magSqr(symm(fvc::grad(U())));

return
cK1_*pow(delta(), 2.0/3.0)*pow(Eps, 2.0/3.0)
*exp(-cK2_*pow(delta(), -4.0/3.0)*nu()/pow(Eps, 1.0/3.0))
- cK3_*pow(Eps*nu(), 1.0/2.0)
*erfc(cK4_*pow(delta(), -2.0/3.0)*sqrt(nu())*pow(Eps, -1.0/6.0));
}

H
henry is offline   Reply With Quote

Old   January 24, 2009, 18:43
Default Thanks Henry. It is running no
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
Thanks Henry. It is running now.
Best regards,
Maka.
maka 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
Radiation P1 Model with Spectral Model: Multigray A. Thellmann CFX 0 October 25, 2008 12:44
Surface Reaction Model or Heterogeneous Rxn Model? satheeskannan FLUENT 0 September 2, 2008 18:55
changing model constants in k-e turbulence model Sunil CFX 3 October 3, 2006 12:12
Symmetry model half or total geometrical model in LES vvqf OpenFOAM Pre-Processing 3 March 22, 2006 10:06
Copying boundary conditions from model to model Lior FLUENT 3 September 23, 2004 16:10


All times are GMT -4. The time now is 18:09.