Hi Wenjie,
Yes, it seems to work fine for me now. Was actually not that complicated once I figured out the syntax. Basically you can just copy the VHS sub-model, rename everything to VSS in the .C and .H file and in the .C file adjust the collision diameter and deflection angle according to the VSS model. Just check Bird or this paper for the details: http://scitation.aip.org/content/aip....1063/1.858184 Of course you will also have to adjust some of the other files so that you can e.g. write alpha for each molecule into your dsmcProperties file and that dsmc knows that there is a new binary collision model (was in makeInflowModel.C or so I think). But which ones I would also have to look up, it's been a while since I worked on it. When you compile your code the error messages will tell you what is missing, e.g. if there are unknown variables that you have to define in another file or so. Regards, j3r |
Quote:
Cheers, Wenjie |
Hi Wenjie,
Yes, that's right. Even though there are different equations to calculate the collision cross section. But they should all result in same value (more or less). You will probably also be interested in this paper: http://www.sciencedirect.com/science...09250913007252 Regards, j3r |
Hi.please help me.how calculate concentration in dsmcfoam?
|
Hi Sadegh,
which version of dsmcFoam are you using? In the official dsmcFoam version you can add to your controlDict Code:
dsmcFields1 (Much more fields are calculated, if you use dsmcFoamPlus , to go through the part of this code in which the calculations are conducted (in order to understand what the fields are) is a pain though.) |
Dear ano
Hi.i am using to dsmcfoam version 5.0 |
Hi ano
Please help me again.how to get the concentration from rhoN and rhoM? |
Please could you update the attached link
Quote:
Please I would like to find a description of the fields, could you update the attached link, because it is not working http://foam.sourceforge.net/docs/cpp/a00438.html |
|
the number of particles entering the inlet and the number of particles escaping from
Does anyone know how to determine the number of particles entering the inlet and the number of particles escaping from the inlet in DSMCFOAM? thanks!:)
|
All times are GMT -4. The time now is 10:50. |