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

Help/Advice using dsmcFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2012, 18:16
Default Help/Advice using dsmcFoam
  #1
New Member
 
Jacob Hempel
Join Date: Oct 2012
Posts: 3
Rep Power: 4
JacobHempel is on a distinguished road
Good evening!

My name is Jacob and I'm currently a sophomore in college. I'm in an undergraduate research program and my mentor gave me a project to work on that I will talk about at an AIAA symposium this December. The research he's given me, however, is quite honestly above my head, because I've never taken a fluids class (but this is how research works: you tackle a problem that's difficult to solve by gathering information).

As a lot of us know, the learning curve for OpenFOAM is quite steep; the fact I've never worked with C++ programming also tremendously hurts. So I am having a lot of issues on figuring out how to work with OpenFOAM in general. I understand the basic concepts with the files, and how there's three directories (0, constant, and system), and that 0 describes the conditions at t=0... But after that, I'm pretty lost.

My project is simple: simulate a sphere of radius 0.01m at mach 10 speed in an argon gas flow... Well, although it is simple, it is very difficult for me! This is basically what my mentor set me up with. Everything else is up to me to figure out on my own. Afterwards, he eventually told me to use the conditions found in Thomas Hauser and Jeffery Allen's paper on dsmcFoam... Hauser's paper mentioned "a mean free path of 0.0068m... a domain of 9200 unstructured tetrahydral cells... time step of 6.5E-7... sphere wall temperatures were set to 1000K..."

So... My question is: how does OpenFOAM work? Does anybody know how to use dsmcFoam solver? Most importantly, is there any advice you can give me as to where I can find information on these topics? I've searched endlessly (hence why I'm finally posting about it). But perhaps I've searched in all the wrong places...

Thank you, and I apologize for this wall of text!
-Jacob Hempel
JacobHempel is offline   Reply With Quote

Old   October 17, 2012, 12:10
Default
  #2
New Member
 
Jacob Hempel
Join Date: Oct 2012
Posts: 3
Rep Power: 4
JacobHempel is on a distinguished road
No advice? Am I being too vague?
JacobHempel is offline   Reply With Quote

Old   October 17, 2012, 13:10
Default
  #3
Member
 
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 4
Sagun is on a distinguished road
Hello Jacob,

I was in the exact same spot a couple of months ago so I have some idea what you are going through. I have never worked with dsmcFoam before nor am I an expert on OpenFOAM, but perhaps I can give you some general advice which might be helpful to you:

1. Have you already done all the three tutorials mentioned in the User Guide? I found that doing those and reading chapters 3-5 gave me a good insight on how to set up the case files.

2. A little understanding of C++ would really come in handy when you are working with OpenFOAM. I found this guide really helpful to brush up my knowledge of C++ http://www.cplusplus.com/files/tutorial.pdf

3. Have you made any progress with your case so far? One thing that I have learned is that if you are expecting any help from this forum, you got to be very specific. I guess the first step for you should be to decide upon the shape, dimensions, no. of cells, etc. for your mesh.

Hope this helps. Good luck!

Sagun
Sagun is offline   Reply With Quote

Old   October 17, 2012, 13:16
Default
  #4
New Member
 
Jacob Hempel
Join Date: Oct 2012
Posts: 3
Rep Power: 4
JacobHempel is on a distinguished road
Thank you for your reply! It tremendously helps.
To answer your question: I've only built a mesh using Pointwise. I then exported the files in OpenFOAM format, so I don't really think it's necessary to produce any mesh code (correct me if I'm wrong on that). So, as of now, I have a mesh and that's all.

I've completed the first tutorial in the userguide, but that's all. I will start on the second and third, and I will begin reading chapters 3-5. I'm glad I'm not the only one who (at least begins) in confusion with OpenFOAM.

Thank you!
-Jacob
JacobHempel is offline   Reply With Quote

Old   October 18, 2012, 06:03
Default
  #5
Member
 
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 4
Sagun is on a distinguished road
I also discovered some dsmcFoam tutorials under the category discreteMethods of OpenFOAM tutorials. You should definitely check out those to get an idea about how to set up your case files.
Sagun is offline   Reply With Quote

Reply

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
Is there anyone who has experience using dsmcFoam solver? spk OpenFOAM 12 July 2, 2013 04:48
DSMCFoam Help javed2010 OpenFOAM 0 December 9, 2011 06:02
How can i run a steady-state problem using dsmcFoam solver? spk OpenFOAM 2 October 19, 2011 05:33
how can I Run axisymmetric flow using dsmcFoam ? mechy OpenFOAM 4 September 19, 2011 10:25
Execution problems in dsmcFOAM turanc OpenFOAM Running, Solving & CFD 2 March 10, 2011 11:04


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