|
[Sponsors] |
May 10, 2011, 11:08 |
|
#81 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
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 |
|
June 6, 2011, 17:16 |
VHS and MaxwellianThemal
|
#82 |
Member
Daniel
Join Date: Jul 2010
Location: California
Posts: 39
Rep Power: 16 |
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: http://www.cfd-online.com/Forums/ope...teraction.html Many Thanks |
|
June 11, 2011, 13:50 |
|
#83 |
Member
Daniel
Join Date: Jul 2010
Location: California
Posts: 39
Rep Power: 16 |
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 |
|
June 11, 2011, 14:57 |
|
#84 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
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 |
|
August 2, 2011, 12:05 |
|
#85 |
New Member
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16 |
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 14:26. Reason: Forgot to post the version |
|
November 16, 2012, 13:18 |
|
#86 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
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. |
|
November 27, 2012, 09:09 |
|
#87 | ||||
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
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. |
|||||
April 29, 2013, 00:35 |
Zero boundary temperature detected, check boundaryT condition.
|
#88 |
New Member
murali
Join Date: Feb 2013
Location: pondicherry
Posts: 10
Rep Power: 13 |
--> 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 |
|
September 20, 2013, 18:19 |
dsmcFieldsCalc doesn't calculate U and T
|
#89 |
New Member
Javad
Join Date: Aug 2013
Location: Iran
Posts: 8
Rep Power: 13 |
Hello
I'm a Master student. I'm going to use dsmcFoam in my thesis. But unfortunately I'm a beginner in both linux and OpenFOAM utilization. Anyway, I made up my mind to start with tutorials of dsmcFoam. And then I found out dsmcFieldsCalc doesn't calculate U and T in all of cases in tutorial. This is my problem. I don't know how I should solve this problem. By the way I'm using OpenFOAM 2.2.1 and Ubuntu 13.04. please help me. I need your help very much. Thank you very much in advance |
|
September 21, 2013, 08:59 |
|
#90 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hi
it writes data as Umean and OverallTmean in the output. If you use Tecplot or paraFoam, you could read these U and T. Regards |
|
September 21, 2013, 12:42 |
|
#91 |
New Member
Javad
Join Date: Aug 2013
Location: Iran
Posts: 8
Rep Power: 13 |
Hi Ehsan
I appreciate you very much for your reply. But unfortunately my problems are not solved yet. After running dsmcFieldsCalc for case supersonicCorner, UMean and overallT are not calculated. I'm just witness of writing following sentences on terminal. Code:
Small value (min(mag(rhoNMean)) [0 -3 0 0 0 0 0] 1e-300) found in rhoNMean field. Not calculating dsmcFields to avoid division by zero. |
|
September 21, 2013, 13:59 |
|
#92 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
It is a special case where I had not similar experiences, try changing nEqui or your mesh, maybe it works.
|
|
September 22, 2013, 02:22 |
|
#93 |
New Member
Javad
Join Date: Aug 2013
Location: Iran
Posts: 8
Rep Power: 13 |
Sorry, but would you please explain about nEqui more? What's this? How shoul I change it? Should I increase it or decrease it?
And also I have another request. Would you please send one of your true simple case to me? |
|
February 11, 2014, 02:22 |
|
#94 |
New Member
reji
Join Date: Nov 2011
Posts: 8
Rep Power: 15 |
Hi Javad...
1. Just replace all occurrence of -300 to -30... and execute "dsmcFieldCalc". (only to check.. not recommended) 2. It is related to number of particles in cell..(insufficient number of particle). 3. Either you can increase number of "simulated" particle or increase the time of run. 4. nEquivalentParticles XXX; line in dsmcProperties.... is the core idea of DSMC (that means instead of simulating ""X number density"" we are simulated "X number density"/nEquivalentParticles ).... So if nEquivalentParticles=1; its purely molecular dynamics. ***** I am still studying dsmcFoam so not depend on my replay. Better read "GA Bird's book" or dsmcFoam paper in Journal of CAF. |
|
July 15, 2016, 17:14 |
|
#95 | |
New Member
Chris
Join Date: May 2016
Posts: 1
Rep Power: 0 |
You gave the following as the entries for the dsmcProperties dict:
Quote:
I am using v3.0+ but have upgraded your code to compile with the current version. Thanks |
||
Tags |
dsmcfoam, initialise |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Poiseuille flow in dsmcFoam | alberto | OpenFOAM Running, Solving & CFD | 0 | December 3, 2009 03:03 |