How to implement this new model in OpenFOAM1.7.1 ?
1 Attachment(s)
Hi,
I need help, please? I am new to OpenFOAM, I have a new model, and i need to know how exactly "to write in text the equations 1 and 2" to solve them ( in cylindrical coord) see the attached jpeg file Thanks a lot. |
Hi,
yes, you can solve these equations, this is indeed the power of OpenFOAM, you can write all your solver in one simple C++ file. All the Calculus operators that you need is defined in OpenFOAM. You only need to use them. Once you write your solver, it is general, you can apply that to cylindrical geometries or whatever geometry that you have. You should spend some time and look at some simple solvers. Mahdi |
Thank you very much Mahdi
but i like someone really to write the text for me , in order not to make any mistake anyway thanks a lot ;) |
A very simple example to start from is the basic solver of "scalarTransportFoam". You can change this for your own problem.
|
Thanks Mahdi, but i am really new to OpenFOAM , i will be thankful if you can write for me at least the text code that i must put in the solver, because i like that: a person more experienced with openFOAM to write them for me
Thanks a lot |
A New Model Implementation!
1 Attachment(s)
Hi,
I need help, please? I am new to OpenFOAM, I have a new model, and i need to know how exactly "to write in text the equations 1 and 2" to solve them ( in cylindrical coord) see the attached jpeg file Thanks a lot. |
A New Model Implementation
Hi
I think you can use icoFoam solver for instruction. Best regards |
T.D. I'm afraid you won't find anyone willing to write it up for you here, so you've got to do the hard yards - start tinkering with icoFoam for example and find out how everything works.
|
thanks a lot
|
Well, the implementation is trivial in cartesian coordinates, which is what you should use in OpenFOAM.
Why do you want to use cylindrical coordinates? You can solve them in cartesian coordinates and represent your geometry in 3D, which is anyway a good idea to keep the model general. Best, |
Quote:
|
If you are wondering why your other posts have disappeared, its beacuse I have removed them.
Posting the exact same question in different threads will not help you or anyone trying to help you when the topic is spread out over multiple thread. |
sorry
Quote:
sorry, but you know i am new here, ok i am so sorry. thanks |
All times are GMT -4. The time now is 03:42. |