|
[Sponsors] | |||||
|
|
|
#81 |
|
Member
ehsan
Join Date: Mar 2009
Posts: 72
Rep Power: 6 ![]() |
Hi,
1- Use Gambit, it is more easier and comfortable. 2- Use structured one, it can captures flow features near the wall much better. 3- See some papers of Boyd and coworkers on sphere flow simulations with DSMC. They used very fine grids. Regards |
|
|
|
|
|
|
|
|
#82 |
|
Member
Daniel
Join Date: Jul 2010
Location: California
Posts: 39
Rep Power: 4 ![]() |
Hi Ehsan - First of all, many thanks to you and your collaborators for dsmcFOAM. Could you explain your use of Bird's eqn. 4.79 in the VHS model. It seems that your equation for sigmaT in birds notation would actually be:
sigmaT = pi*dref(pq)*d(pq) rather than sigmaT = pi*d(pq)*d(pq). The code I'm talking about is lines 90-96 of variableHardSphere.C. I assume the discrepancy has something to do with the fact that the function returns sigmaT*cR. Is this interpretation of the code incorrect? Also, would you mind addressing my question in the thread: maxwellianThermal wall interaction Many Thanks |
|
|
|
|
|
|
|
|
#83 |
|
Member
Daniel
Join Date: Jul 2010
Location: California
Posts: 39
Rep Power: 4 ![]() |
Hi Ehsan - I have yet another question for you. I didn't see any use of viscosityCoefficient from the properties file in the code. I used the command
"find . | xargs grep viscosityCoefficient" and no results were obtained. I apologize for asking so many questions of you, but I must at least try. Thanks Again |
|
|
|
|
|
|
|
|
#84 |
|
Member
ehsan
Join Date: Mar 2009
Posts: 72
Rep Power: 6 ![]() |
Hello,
Sorry for my delays. In fact, I am quite busy these days and could not come back to source codes, but you could easily find the solution of your questions if you first observe and run a simple DSMC code like Bird FORTRAN codes, available on the web, and then go to the dsmcFoam. Regards Ehsan |
|
|
|
|
|
|
|
|
#85 |
|
New Member
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 5 ![]() |
Hey Claus, hey Marta,
thanks to your help via email I made a lot of progress understanding dsmcFoam and I can give you some updates to the most important questions (important note: I use version 1.7.1, I dont no anything about 2.0.0): 1. This is a very important one: zeroGradient doesn't work at least at an open boundary. Instead if you use zeroGradient, dsmcFoam takes the internalField-temperature to insert new molecules, which is really not a good idea! /E: Bad news (at least for me): It also doesn't work on walls. So every time you have got a MaxwellianThermal-wall-collision the temperature used to calculate the post-collision-velocity is based on the internalField-temperature. 2. Claus on your question about VHS: I also thought the implementation was wrong first, but I think, I found out, that d_pq in the implementation = d_pq_ref in Bird or something like this. To put it in a nutshell: Everything is fine, I think. 3. The famous pFA-Eq. from Bird is based on an hypothetical equilibrium on the other side of the cell. I changed it, so you can insert a massflow: pFA[i] += mag(patch.faceAreas())*numberDensities_[i]*deltaT; 4. Also I implemented a mean free path- and a Kn-field. I think, we definitily should discuss point 1. Last edited by gautcho; August 2, 2011 at 13:26. Reason: Forgot to post the version |
|
|
|
|
|
|
|
|
#86 |
|
Member
hadi abdollahzadeh
Join Date: Aug 2012
Posts: 45
Rep Power: 2 ![]() |
hi
I have a problem that decide to solve it with dsmc and use Air for the gas.but I don't know about the numerdensity of Air? the density of Argon is 1e20(where?) ?I see in thermodynamic and the density of Argon in the SI and US not this value? what are these(rhoM &rhoN)?and is nessecary for difne the value for rhoM or RhoN?because I use zerogradiant for these parameters. |
|
|
|
|
|
|
|
|
#87 | ||||
|
Member
hadi abdollahzadeh
Join Date: Aug 2012
Posts: 45
Rep Power: 2 ![]() |
hi
I try to run a problem with dsmc and mesh my geometry in gambit then convert to OF. I excute the checkMesh All of them its Ok but at the end line : Quote:
Quote:
Quote:
Quote:
and I don't have the blockMesh. |
|||||
|
|
|
|||||
|
|
|
#88 |
|
New Member
murali
Join Date: Feb 2013
Location: pondicherry
Posts: 9
Rep Power: 2 ![]() |
--> FOAM FATAL ERROR:
Zero boundary temperature detected, check boundaryT condition. From function Foam::FreeStream<CloudType>::inflow() in file lnInclude/FreeStream.C at line 171. FOAM aborting #0 Foam::error: rintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"#1 Foam::error::abort() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::FreeStream<Foam: smcCloud<Foam: smcParcel< Foam: article> > >::inflow() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libdsmc.so"#3 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/dsmcFoam" #4 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/dsmcFoam" #5 __libc_start_main in "/lib/libc.so.6" #6 in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/dsmcFoam" Aborted |
|
|
|
|
|
![]() |
| Tags |
| dsmcfoam, initialise |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Poiseuille flow in dsmcFoam | alberto | OpenFOAM Running, Solving & CFD | 0 | December 3, 2009 02:03 |