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

Simulating the release of a gas in the air

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2012, 15:00
Default Simulating the release of a gas in the air
  #1
New Member
 
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14
goncabrita is on a distinguished road
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!!!
goncabrita is offline   Reply With Quote

Old   June 25, 2012, 11:58
Default
  #2
New Member
 
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14
goncabrita is on a distinguished road
Hi everyone! Just an update...

I'm trying to use sprayFoam without the combustion to accomplish my simulation. Is this correct?
goncabrita is offline   Reply With Quote

Old   June 28, 2012, 12:26
Default
  #3
New Member
 
Gonçalo Cabrita
Join Date: Jun 2012
Posts: 3
Rep Power: 14
goncabrita is on a distinguished road
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!!!
goncabrita is offline   Reply With Quote

Reply

Tags
air, gas, odor


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
problem in simulating porous drying process benson621 ANSYS 7 December 16, 2011 15:59
Simulation of a mixture of air / CNG (compressed natural gas) jonmec OpenFOAM Pre-Processing 0 November 13, 2009 15:24
Chemical Equilibrium Composition of Air and other Species enigma Main CFD Forum 0 November 11, 2009 20:08
Simulating air injecting to water in a tank? Howard Wang Main CFD Forum 6 March 13, 2009 22:32


All times are GMT -4. The time now is 16:53.