CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

A New Model Implementation!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2010, 08:28
Smile How to implement this new model in OpenFOAM1.7.1 ?
  #1
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
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.
Attached Images
File Type: jpg MyModel.JPG (39.8 KB, 56 views)
T.D. is offline   Reply With Quote

Old   September 8, 2010, 11:48
Default
  #2
Member
 
M. Mahdi Salehi
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 50
Rep Power: 17
smehdi609 is on a distinguished road
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
smehdi609 is offline   Reply With Quote

Old   September 8, 2010, 17:17
Default
  #3
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
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
T.D. is offline   Reply With Quote

Old   September 9, 2010, 08:11
Default
  #4
Member
 
M. Mahdi Salehi
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 50
Rep Power: 17
smehdi609 is on a distinguished road
A very simple example to start from is the basic solver of "scalarTransportFoam". You can change this for your own problem.
smehdi609 is offline   Reply With Quote

Old   September 9, 2010, 14:35
Default
  #5
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
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. is offline   Reply With Quote

Old   September 11, 2010, 13:57
Post A New Model Implementation!
  #6
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
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.
Attached Images
File Type: jpg MyModel.JPG (39.8 KB, 26 views)
T.D. is offline   Reply With Quote

Old   September 12, 2010, 04:02
Default A New Model Implementation
  #7
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17
ata is on a distinguished road
Hi
I think you can use icoFoam solver for instruction.
Best regards
ata is offline   Reply With Quote

Old   September 12, 2010, 05:55
Default
  #8
Senior Member
 
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 16
rieuk is on a distinguished road
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.
rieuk is offline   Reply With Quote

Old   September 12, 2010, 10:08
Default
  #9
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
thanks a lot
T.D. is offline   Reply With Quote

Old   September 12, 2010, 23:10
Default
  #10
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
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,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   September 13, 2010, 06:09
Post
  #11
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Quote:
Originally Posted by alberto View Post
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.
T.D. is offline   Reply With Quote

Old   September 13, 2010, 07:38
Default
  #12
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
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.
niklas is offline   Reply With Quote

Old   September 13, 2010, 09:09
Smile sorry
  #13
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Quote:
Originally Posted by niklas View Post
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
T.D. is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
non-linear k-epsilon model implementation problems Saidi Main CFD Forum 2 March 4, 2010 13:23
LES and combustion model Margherita Cadorin CFX 0 October 29, 2008 05:24
simulation results for k-w model and SST model Li CFX 7 June 29, 2007 04:19
Implementation of wall function with SA model Bala Main CFD Forum 0 October 7, 2004 23:54


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