CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

c++ and cfd

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2012, 17:35
Default c++ and cfd
  #1
New Member
 
crane
Join Date: Jul 2011
Posts: 7
Rep Power: 5
doorna is on a distinguished road
Dear all;
I am a super beginner in programming but i am super enthusiastic to know how to write codes.I know fundamental concepts of CFD.I wonder if any one knows of some books or sites which includes writing codes with c++ using CFD concepts.The only experience I had was writing code for lid driven cavity and it hasn't converged yet.It is like a dream for me to write codes for different problems!!!!!!!!!I am ready to do whatever it costs!
your answers are immensely appreciated in advance
best,
Doorna

Last edited by doorna; February 11, 2012 at 04:55.
doorna is offline   Reply With Quote

Old   February 10, 2012, 22:46
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 355
Rep Power: 9
arjun is on a distinguished road
Read Prof. Peric's book, it contain ALL the information that you would need to write a working navier stokes code for incompressible flow.
arjun is offline   Reply With Quote

Old   February 11, 2012, 04:50
Default
  #3
New Member
 
crane
Join Date: Jul 2011
Posts: 7
Rep Power: 5
doorna is on a distinguished road
Quote:
Originally Posted by arjun View Post
Read Prof. Peric's book, it contain ALL the information that you would need to write a working navier stokes code for incompressible flow.
Dear arjun
Thanks a lot for your advice.Can you plz tell me full name of the book you mentioned?
doorna is offline   Reply With Quote

Old   February 12, 2012, 14:46
Default
  #4
Member
 
Mohammad Reza Hadian
Join Date: Mar 2009
Location: Yazd, Iran
Posts: 50
Rep Power: 7
hadian is on a distinguished road


Computational Methods for Fluid Dynamics by: Joel H. Ferziger and Milovan Peric, .

link to amazon: http://www.amazon.com/Computational-.../dp/3540594345
hadian is offline   Reply With Quote

Old   February 13, 2012, 00:29
Default
  #5
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 355
Rep Power: 9
arjun is on a distinguished road
thank you for putting the link. I sent him a pm I guess it would be better to post here.

Thanks

Quote:
Originally Posted by hadian View Post

Computational Methods for Fluid Dynamics by: Joel H. Ferziger and Milovan Peric, .

link to amazon: http://www.amazon.com/Computational-.../dp/3540594345
arjun is offline   Reply With Quote

Old   February 13, 2012, 06:05
Default UDF solver_par
  #6
New Member
 
Join Date: Feb 2012
Posts: 1
Rep Power: 0
rob_85 is on a distinguished road
Hi everyone,

I'm modifying a UDF for my final career project and I'm having trouble with some stuff, I hope you guys can help me!!

In the DPM_HEAT_MASS udf I'm having trouble understanding the definition of the bulk concentration and its units and I don't quite get the meaning of one of its terms... Please help!!

real cvap_bulk = c->pressure / UNIVERSAL_GAS_CONSTANT / c->temp * c->yi[gas_index] / molwt_bulk / solver_par.molWeight[gas_index];

It seems this definition comes from the ideal gas law, but if you look carefully it looks as if the definition becomes: cvap_bulk = PTYiM/RMbulk

As for the solver_par.molWeight[gas_index] I don't quite understand its meaning..

Thanks in advance!!

Rob.
rob_85 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
STAR-Works : Mainstream CAD with CFD CD adapco Group Marketing CD-adapco 0 February 13, 2002 13:23
Where do we go from here? CFD in 2001 John C. Chien Main CFD Forum 36 January 24, 2001 22:10
ASME CFD Symposium, Atlanta, July 2001 Chris R. Kleijn Main CFD Forum 0 August 21, 2000 04:49
Which is better to develop in-house CFD code or to buy a available CFD package. Tareq Al-shaalan Main CFD Forum 10 June 12, 1999 23:27
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44


All times are GMT -4. The time now is 08:33.