CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Hybrid DSMC-NS solver in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2011, 05:16
Default Hybrid DSMC-NS solver in OpenFOAM
  #1
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Hello

In the next months, I will attempt to write a hybrid DSMC-NS solver in OpenFOAM.
The problem at hand is a time-dependent expansion of a gas from atmospheric conditions to vacuum. I don't see any way to treat all Knudsen regimes (10^-6 up to 10^4) other than a hybrid code.

Thus, I have the following questions:
i) First of all, is that even possible? :-D
ii) Does anyone foresee any possible difficulties, something to be extra careful about?
iii) Which NS solver would be more suitable for the simulation of transonic and supersonic flows?
iv) Is there another modeling possibility?

Regards
S.P.
anon_a is offline   Reply With Quote

Old   September 23, 2011, 05:06
Default
  #2
Member
 
ehsan
Join Date: Mar 2009
Posts: 92
Rep Power: 8
ehsan is on a distinguished road
Hello

Thanks for your message.

Yes. as your Kn changes a wide range, it is rational. First, I suggest you to study all works done in the filed of hybrid simulations to get ideas. You could consult my papers simulating micro-nozzle to see how I used the NS solver named "rhoCentralFoam" (in compressible family of solvers) to perform the simulation of nozzle flow. This solver should be merged with dsmcFoam. However, you need to write some functions to

1- calculate KnGLL to divide the continuum and rarefied regions
2- To divide the whole region according to KnGLL and to create meshes in both regions separately

The difficulty will arise during your progress, you should fully understand OPENFoam and dsmcFoam, it needs a good efforts and interests.

Also this paper works on micro-nozzle in a hybrid way:
http://www.sciencedirect.com/science...45793011001964

Regards,

PS: You could email me for any inquiry and I will reply once I am not very busy.
ehsan is offline   Reply With Quote

Old   September 23, 2011, 06:37
Default
  #3
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Thank you very much for the advice!
I will study the papers and the codes you have provided.

Best regards,
S.P.
anon_a is offline   Reply With Quote

Old   May 24, 2012, 02:31
Default
  #4
New Member
 
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 5
e.ahmadiyan is on a distinguished road
Hi dear anon_a
I need to a solver as you are discussed above. Is there any solver in openFoam at now? If no could you give me your solver ?
Thanks a lot
best regards
e.ahmadiyan is offline   Reply With Quote

Old   May 24, 2012, 03:41
Default
  #5
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Hello there

Well, there is no official solver for that in OpenFOAM and I am afraid I can not give you my code since it belongs to the institution I am working on. But I can give you some pointers.

The most important question is if your problem is time-dependent or steady state. In the first case, you will have significant programming difficulties and will need a great computational effort. Also, what is your reference Knudsen range?
anon_a is offline   Reply With Quote

Old   May 24, 2012, 04:05
Default
  #6
New Member
 
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 5
e.ahmadiyan is on a distinguished road
Thanks dear anon_a
I am beginner and I have a few time about 3 month.To your idea how many time I will need for create this solver?
Best regards
e.ahmadiyan is offline   Reply With Quote

Old   May 24, 2012, 04:10
Default
  #7
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
You have not answered my questions and therefore I can not estimate exactly.
You must also specify your C++ level.

But I would say that for a steady state solver and for someone with a reasonable understanding of C++, a hybrid solver would be possible in 3 months.
anon_a is offline   Reply With Quote

Reply

Tags
dsmcfoam, expansion, hybrid, openfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acoustic Solver with openfoam acoustica OpenFOAM Programming & Development 52 June 21, 2015 16:11
Viscoelastic Fluid Flows using OpenFOAM The solver viscoelasticFluidFoam jovani OpenFOAM Running, Solving & CFD 394 February 16, 2015 09:20
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Running Problem using Openfoam solver cfd_staruser OpenFOAM 5 August 14, 2009 02:28
AMG solver in Openfoam gonski Main CFD Forum 0 November 25, 2007 06:20


All times are GMT -4. The time now is 22:12.