|
[Sponsors] |
Calculating fvm::laplacian(tensor,scalar) on cylinder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 3, 2014, 16:05 |
Calculating fvm::laplacian(tensor,scalar) on cylinder
|
#1 |
New Member
James Montague
Join Date: Jan 2014
Location: Vermont, United States
Posts: 7
Rep Power: 12 |
I am using OpenFoam 2.2.2. I'm getting the following error when trying to solve laplacianFoam for a cylinder using a slight modification in which laplacianFoam takes a tensor as the coefficient D.
#0 Foam::error::printStack(Foam::Ostream&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 void Foam::fvc::surfaceIntegrate<double>(Foam::Field<do uble>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<double>(Foam::Geometri cField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #6 Foam::fv::gaussLaplacianScheme<double, Foam::Tensor<double> >::fvmLaplacian(Foam::GeometricField<Foam::Tensor< double>, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #7 Foam::fv::laplacianScheme<double, Foam::Tensor<double> >::fvmLaplacian(Foam::GeometricField<Foam::Tensor< double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #8 in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/laplacianFoam" #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 in "/home/jim/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/laplacianFoam" Floating point exception (core dumped) The problem appears to be with the mesh that I am using because the same solver will run just fine for the provided flange example. The solver also works on the cylinder mesh if a scalar is used for D. I have attached both the model files in cylinder.zip and the slightly modified solver so that it uses a tensor coefficient in laplacianFoamT.zip. Any insight into how I can get this to work would be much appreciated. Thanks, Jim |
|
June 20, 2014, 12:12 |
|
#2 |
New Member
James Montague
Join Date: Jan 2014
Location: Vermont, United States
Posts: 7
Rep Power: 12 |
It appears that the original mesh that I used with blockMesh was not suitable. I have remeshed the cylinder using snappyHexMesh and the swiftSnap tool developed for blender (it works really well!)
The revised case is attached below. -James |
|
Tags |
cylinder mesh, laplacianfoam, surfaceintegrate, tensor |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating Sloshing mass in a cylinder | satellite_control | FLOW-3D | 0 | June 20, 2011 06:34 |
[blockMesh] Specifying boundary faces failes in blockMesh | blaise | OpenFOAM Meshing & Mesh Conversion | 0 | May 10, 2010 04:56 |
calculating the pressure on cylinder for immersed boundary technique | chaithanya | Main CFD Forum | 0 | May 19, 2009 10:28 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |
Calculating shedding frequency of square cylinder | zonexo | Main CFD Forum | 5 | November 17, 2005 19:12 |