CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Execution problems in dsmcFOAM (

turanc September 23, 2010 13:24

Execution problems in dsmcFOAM
I don't think many other people are using or have used the relatively new dsmcFOAM solver but for any that have, I'd like to ask if you've had problems getting the solver itself to actually complete. It seems like the tutorials run fine, and sometimes my own cases complete but often enough the execution just seems to halt. Debugging it by putting output statements in the code and recompiling shows that it often stops just after the output (to the log) of the number of particles inserted in a given time step. This line is in FreeStream.C, one of the inflow boundary models that comes with the dsmc library. This is the very last line of the inflow() function, with the next line being the movement of the particles as:


which is in the evolve() function of DsmcCloud.C, and to which it never gets. The execution never seems to exit the inflow() function though sometimes and since there is literally no code (that I can see) between the end of inflow() and the beginning of move() , this makes zero sense.

If anyone else is using dsmcFOAM, I'd like to hear if you've seen inconsistencies like this. Thanks.

hafez March 5, 2011 23:49

i need your help
I'm a master student and i'm a beginner in using this program. can you help me yo known

the basics of DSMCFOAM?

because i will use it in simulation of gas flow through Nano tube.

if we can talk on my email , i'll be grateful.

my email


ehsan March 10, 2011 11:04

dsmcFoam paper
Dear All,

You could get more information about dsmcFoam reading our paper in CAF journal:


All times are GMT -4. The time now is 11:51.