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

Hybrid DSMC-NS solver in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By anon_a

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2011, 06:16
Default Hybrid DSMC-NS solver in OpenFOAM
  #1
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
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, 06:06
Default
  #2
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
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, 07:37
Default
  #3
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
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, 03:31
Default
  #4
New Member
 
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15
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, 04:41
Default
  #5
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
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, 05:05
Default
  #6
New Member
 
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15
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, 05:10
Default
  #7
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
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.
tmik likes this.
anon_a is offline   Reply With Quote

Reply

Tags
dsmcfoam, expansion, hybrid, openfoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Viscoelastic Fluid Flows using OpenFOAM The solver viscoelasticFluidFoam jovani OpenFOAM Running, Solving & CFD 475 January 13, 2023 09:21
Acoustic Solver with openfoam acoustica OpenFOAM Programming & Development 110 February 24, 2021 19:50
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 03:28
AMG solver in Openfoam gonski Main CFD Forum 0 November 25, 2007 06:20


All times are GMT -4. The time now is 15:16.