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

RSTM laplacian volSymmTensorField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2012, 06:35
Default RSTM laplacian volSymmTensorField
  #1
Senior Member
 
Join Date: Apr 2009
Location: Karlsruhe, Germany
Posts: 104
Rep Power: 17
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


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
Modifying the laplacian operator mlawson OpenFOAM Running, Solving & CFD 22 July 16, 2018 05:56
How to calculate laplacian of a scalar in cfx? Jun CFX 21 March 2, 2018 10:08
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 19:18


All times are GMT -4. The time now is 00:21.