CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Building new solver (http://www.cfd-online.com/Forums/openfoam/87342-building-new-solver.html)

pramodrao1984 April 18, 2011 07:30

Building new solver
 
Hi friends,

this post will be a bit heavy loaded.

I am trying to build new solver which has combined effect of two solvers. Since I am really new to this programming field, I am finding difficulties.
your helping hand will mean a lot to my work.

Thanks in advance,

Pramod Rao

wschosta July 14, 2011 17:16

Hi Pramod,

Since this post is 3 months old I hope you managed to get some help merging solvers. But if not, here's what I would suggest:

Start slow, try adding little bits of functionality from one solver to the other. Make sure you build a test case that will allow you to test and make sure it's actually compiling and running correctly. The worst thing is when you write several hundred lines of code only to run it and have it crash and not know where the error was!

Second, don't be afraid to ask questions. I just started working with this too but after asking around and doing a lot of tinkering I feel pretty confident about it. BUT, when you ask questions try and put as much information as you can into the question. What version you're using, what solvers you're trying to merge, specific error messages that you're running into, be as specific as possible so people have the most information available to give you an accurate answer.

Third, it would probably be helpful for you to look through the forums and find other posts about merging solver functionality. There are a lot of them and there is a lot of insight that you can get from them even if you don't have a specific question.

I wish you the best of luck with your new solver and with CFD and OpenFOAM in the future.


All times are GMT -4. The time now is 01:37.