|
[Sponsors] |
June 20, 2012, 14:00 |
Simulating the release of a gas in the air
|
#1 |
New Member
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14 |
Hi everyone!
I'm new at OpenFOAM and my experience with CFD is close to zero! Also my knowledge of fluid mechanics is very basic!! I've been going through the OpenFOAM tutorials, documentation and the forums and I've managed to get Gmsh to generate a mesh of my environment. The next step is to choose a solver for my problem. As the title says I intend to simulate the release of different gaseous chemicals in the air (not very interested in a particular chemical, more in the way the chemical moves in the air). Which solvers can I use for this case? If anyone could provide me with a simple example case I would be extremely grateful as I have no idea how to setup the files for the starting conditions. If I could get something to use as a starting point it would be very helpful. Best regards, and thanks in advance!!! |
|
June 25, 2012, 10:58 |
|
#2 |
New Member
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14 |
Hi everyone! Just an update...
I'm trying to use sprayFoam without the combustion to accomplish my simulation. Is this correct? |
|
June 28, 2012, 11:26 |
|
#3 |
New Member
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14 |
Hi Foamers!
So I've been making some progresses but I still can't run a simulation! I was having some troubles with temperatures which dissapeared after I found this thread: http://www.cfd-online.com/Forums/ope...naf-range.html So I changed Laplacian schemes and generated a thinner mesh. Right now sprayFoam is crashing with the following error: #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::fv::gaussGrad<double>::gradf(Foam::Geometric Field<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::word const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #4 Foam::fv::gaussGrad<double>::calcGrad(Foam::Geomet ricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #5 Foam::fv::gradScheme<double>::grad(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/sprayFoam" #6 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/sprayFoam" #7 Foam::tmp<Foam::GeometricField<Foam:uterProduct< Foam::Vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<doubl e, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/sprayFoam" #8 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/sprayFoam" #9 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #10 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/sprayFoam" Floating point exception (core dumped) Could anyone help me out? What information should I provide to help solve this problem? Best regards and thanks in advance!!! |
|
Tags |
air, gas, odor |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem in simulating porous drying process | benson621 | ANSYS | 7 | December 16, 2011 14:59 |
Simulation of a mixture of air / CNG (compressed natural gas) | jonmec | OpenFOAM Pre-Processing | 0 | November 13, 2009 14:24 |
Chemical Equilibrium Composition of Air and other Species | enigma | Main CFD Forum | 0 | November 11, 2009 19:08 |
Simulating air injecting to water in a tank? | Howard Wang | Main CFD Forum | 6 | March 13, 2009 21:32 |