|
[Sponsors] |
August 19, 2014, 00:00 |
|
#41 |
New Member
Join Date: Jun 2012
Posts: 11
Rep Power: 14 |
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 |
|
August 19, 2014, 05:29 |
|
#42 | |
New Member
wenjie
Join Date: Dec 2012
Posts: 12
Rep Power: 14 |
Quote:
Cheers, Wenjie |
||
August 19, 2014, 08:00 |
|
#43 |
New Member
Join Date: Jun 2012
Posts: 11
Rep Power: 14 |
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 |
|
May 2, 2018, 06:00 |
|
#44 |
New Member
Sadegh
Join Date: Nov 2017
Posts: 5
Rep Power: 9 |
Hi.please help me.how calculate concentration in dsmcfoam?
|
|
May 18, 2018, 08:52 |
|
#45 |
Member
ano
Join Date: Jan 2017
Location: Delft
Posts: 58
Rep Power: 10 |
Hi Sadegh,
which version of dsmcFoam are you using? In the official dsmcFoam version you can add to your controlDict Code:
dsmcFields1 { type dsmcFields; libs ("liblagrangianFunctionObjects.so"); writeControl writeTime; } (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.) |
|
May 20, 2018, 13:11 |
|
#46 |
New Member
Sadegh
Join Date: Nov 2017
Posts: 5
Rep Power: 9 |
Dear ano
Hi.i am using to dsmcfoam version 5.0 |
|
May 21, 2018, 00:53 |
|
#47 |
New Member
Sadegh
Join Date: Nov 2017
Posts: 5
Rep Power: 9 |
Hi ano
Please help me again.how to get the concentration from rhoN and rhoM? |
|
June 9, 2021, 07:19 |
Please could you update the attached link
|
#48 | |
New Member
Samir
Join Date: May 2012
Posts: 14
Rep Power: 14 |
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 |
||
June 9, 2021, 08:45 |
|
#49 |
Member
ano
Join Date: Jan 2017
Location: Delft
Posts: 58
Rep Power: 10 |
||
October 24, 2021, 05:15 |
the number of particles entering the inlet and the number of particles escaping from
|
#50 |
New Member
wcs
Join Date: Mar 2021
Posts: 8
Rep Power: 5 |
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!
|
|
Tags |
boundary conditions, dsmcfoam, initial conditions, openfoam dsmcfoam dsmc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why my simulation not agree with the wind tunnel experiment | zhaowei | CFX | 4 | July 11, 2015 04:36 |
Solar Radiation in OpenFOAM | plainstyle | OpenFOAM Running, Solving & CFD | 15 | July 8, 2014 05:43 |
Simulation of a complex wing in solidworks flow simulation | niels1900 | FloEFD, FloWorks & FloTHERM | 6 | April 20, 2011 11:44 |
Continuous vs interrupted simulation | sega | OpenFOAM Running, Solving & CFD | 4 | November 3, 2008 15:29 |
strange simulation error | Ralf Schmidt | FLUENT | 2 | May 4, 2007 14:02 |