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

OpenFOAM from scratch to specific goal?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 11, 2012, 04:54
Default OpenFOAM from scratch to specific goal?
  #1
New Member
 
Join Date: Oct 2012
Posts: 1
Rep Power: 0
fantasy is on a distinguished road
Hi everyone,

Since I do not want to waste any time, I thought it would be good to ask some experienced people for a simple guideline of how I should approach a certain goal in a pretty short timespan. With short I'm talking about approximately 2 weeks (8 hours a day). Actually, I'm really interested in gaining advanced knowledge of OpenFOAM, but at this moment my time is too limited for that, so that will have to come later.

For now, my intention is to create a 3-dimensional mesh using a commercial software package and then use OpenFOAM to simulate the flow behavior and with that knowledge try to improve my mesh/the initial design. The solvers I am going to use (with or without altering them, I don't know about that yet) will be icoFoam and settlingFoam. At first I will simply simulate the problem with just a fluid and after that solid particles will be added. The hardest part of the problem will be to define the boundary conditions and match them with experiments that are going to be performed on a smaller scale as well.

So, getting to the point, what should I work on to achieve this? The 2 available weeks are mostly to get familiar with OpenFOAM, the relevant physics and simply how to use/modify the required solvers. Experiments and meshing will be done after that and then I will have some time to actually perform the simulations and improve my model.

Currently, I am in the 2nd year of my master, so I do have relevant knowledge, but it is all somewhat limited. I am familiar with the basics in different branches of fluid dynamics, finite element method and I also have some knowledge on the theory behind CFD (I know about discretization using CD, upwind schemes, TVD and such; explicit time integration schemes; relaxation, multigrid), but apart from writing some Matlab scripts, I have not really put any of this into practice yet. Also, I am completely illiterate when it comes to C++ (yet).

So, with all of the above in mind, what would be a good approach to get from A to Z? I have already completed the tutorials in the user- and programmer-guides, but other than learning some basic execution commands and finding out what is located where, these did not really give me the idea I learned a lot yet.

Thanks in advance!
fantasy is offline   Reply With Quote

Old   October 15, 2012, 11:40
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 534
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
Hi,

you might take a look at http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007/ ..
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2011/

or go through OF workshop material

http://openfoam-extend.sourceforge.n...7_Program.html

http://openfoam-extend.sourceforge.n...m/training.htm

if you are illiterate to C++ you could try python if that is easier for you => http://pythonflu.wikidot.com/start although the installation is not that easy.

If you want to do optimization, do you want to use Dakota or adjoint?
elvis 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
Specific OpenFOAM Code pbhuter OpenFOAM 13 June 30, 2012 20:06
modify specific heat ratio in OpenFOAM Gitesh P OpenFOAM Running, Solving & CFD 0 June 25, 2012 06:52
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 06:51
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33


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