CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Where should I go now? (https://www.cfd-online.com/Forums/openfoam-programming-development/123899-where-should-i-go-now.html)

Maralady September 23, 2013 22:50

Where should I go now?
 
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?

laurentb September 25, 2013 12:48

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!

sharonyue September 26, 2013 00:54

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.~


All times are GMT -4. The time now is 10:18.