CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   A New Model Implementation! (https://www.cfd-online.com/Forums/openfoam-solving/80001-new-model-implementation.html)

T.D. September 7, 2010 08:28

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.

smehdi609 September 8, 2010 11:48

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

T.D. September 8, 2010 17:17

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
;)

smehdi609 September 9, 2010 08:11

A very simple example to start from is the basic solver of "scalarTransportFoam". You can change this for your own problem.

T.D. September 9, 2010 14:35

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

T.D. September 11, 2010 13:57

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.

ata September 12, 2010 04:02

A New Model Implementation
 
Hi
I think you can use icoFoam solver for instruction.
Best regards

rieuk September 12, 2010 05:55

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.

T.D. September 12, 2010 10:08

thanks a lot

alberto September 12, 2010 23:10

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,

T.D. September 13, 2010 06:09

Quote:

Originally Posted by alberto (Post 274919)
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,

Hi, i need Cylindrical coordinates because, my flow is a flow between two disks where one is rotating and the other one is stationary.

niklas September 13, 2010 07:38

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.

T.D. September 13, 2010 09:09

sorry
 
Quote:

Originally Posted by niklas (Post 274968)
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, but you know i am new here, ok i am so sorry.
thanks


All times are GMT -4. The time now is 03:42.