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

RSTM laplacian volSymmTensorField

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2012, 05:35
Default RSTM laplacian volSymmTensorField
  #1
Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 96
Rep Power: 8
Thomas Baumann is on a distinguished road
Hi everybody,

I try to implement a RSTM in OpenFOAM.

I have problems to implement correctly a laplacian-term of a volSymmTensorField:

my Reynolds stresses R_ are defined as volSymmTensorField

and I need the term:
d/dx_n (constants*R_nm dR_ij/dx_m)

I have implemented it in OF by:
volSymmTensorField laplacianR = fvc::laplacian(constants*R_,R_);

The code can be compiled without any errors,
but the simulation stops always at this position with errors...

I have seen that the RSTM: LaunderGibsonRSTM includes the line
//- fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
but it is commanded out,
Blending it in results in the same errors:


#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::fv::laplacianScheme<Foam::SymmTensor<double> , Foam::SymmTensor<double> >::New(Foam::fvMesh const&, Foam::Istream&) in "/user/hi204/OpenFOAM/hi204-1.7.0/lib/linux64GccDPOpt/libRSMEBM.so"
#4 Foam::tmp<Foam::GeometricField<Foam::SymmTensor<do uble>, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::laplacian<Foam::SymmTensor<double>, Foam::SymmTensor<double> >(Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/user/hi204/OpenFOAM/hi204-1.7.0/lib/linux64GccDPOpt/libRSMEBM.so"
#5 Foam::tmp<Foam::GeometricField<Foam::SymmTensor<do uble>, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::laplacian<Foam::SymmTensor<double>, Foam::SymmTensor<double> >(Foam::tmp<Foam::GeometricField<Foam::SymmTensor< double>, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/user/hi204/OpenFOAM/hi204-1.7.0/lib/linux64GccDPOpt/libRSMEBM.so"
#6 Foam::incompressible::RASModels::RSMEBM::correct() in "/user/hi204/OpenFOAM/hi204-1.7.0/lib/linux64GccDPOpt/libRSMEBM.so"
#7
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
#8 __libc_start_main in "/lib/libc.so.6"
#9
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
Speicherzugriffsfehler




Has anybody an idea? Do I maybe need a special laplacianSchemes?

Thanks, Thomas
Thomas Baumann 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
How to calculate laplacian of a scalar in cfx? Jun CFX 16 October 24, 2013 17:21
Modifying the laplacian operator mlawson OpenFOAM Running, Solving & CFD 11 September 7, 2011 12:30
Low-Re (full RSTM or analytical RSTM) turbulence model volker OpenFOAM 3 November 16, 2010 05:54
Transformation of volSymmTensorField to volTensorField svens OpenFOAM 2 November 19, 2009 06:47
Implementation of div, laplacian, etc and variables sven OpenFOAM 3 July 19, 2009 18:18


All times are GMT -4. The time now is 03:28.