|
[Sponsors] |
September 23, 2013, 21:50 |
Where should I go now?
|
#1 |
Member
Arthur Loginow
Join Date: Aug 2012
Posts: 99
Rep Power: 13 |
Ok I red the user guide, but still not feeling confident with the program, where should I go now? I have to simulate a 2D wave tank, everyone tells me how easy it is so I must be missing something because I feel that so far I am not able to do it, where should I go next? C++ programmers guide? There is any other documentation out there? Some website besides OpenFOAM wiki?
|
|
September 25, 2013, 11:48 |
|
#2 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 16 |
I advise you to try to find a tutorial that look like your simulation
for example have a look in /opt/openfoam220/tutorials/multiphase/interDyMFoam/ras or /opt/openfoam220/tutorials/incompressible/pimpleDyMFoam and then try to adapt to your case. good luck! |
|
September 25, 2013, 23:54 |
|
#3 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
This happened to me ago. I suggest you learn C++ first esp the "class". C++ is very important. You would not get anywhere without it. OpenFOAM uses class everywhere. Then pick a simple class trying to get it. for example: viscosity.C. This is a simple ABC. you could ignore the "run time selection mechanism" just look how it works.
Simple story: Learn C++, then you would have the OpenFOAM programming feeling. At least this works for me. although Im a newbie too.~ |
|
|
|