CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Question on introducing new terms into an existing model

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2011, 06:48
Default Question on introducing new terms into an existing model
New Member
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 15
351Cleveland is on a distinguished road
Hello there,

linking to my previous post:

I decided to post here as the question seemed more relevant to programming than general OpenFoam query.

I have been trying to create a new model from the existing incompressible kEpsilon model files which includes the ability to calculate liquid mass fraction. I have added the corresponding constants/transport equation without problems and the model compiled correctly, however I am slightly concerned about re-using the term 'autoCreate' in the .C file as I could not create a new function for y-liq without it coming up with an error (see previous post).

My question is that, by re-using the autoCreateK term for y-liq, givent that the only boundary conditions for y are either zeroGradient or uniform value; will this cause any problems during simulation or do I have to create a new autoCreate term specifically for yliq?

Much obliged.

351Cleveland is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
about Subgrid-scale model impecca OpenFOAM Running, Solving & CFD 4 December 20, 2013 10:36
[ICEM] A question about model an architechture about vetilation sunnyonly ANSYS Meshing & Geometry 4 September 23, 2010 11:33
Diffusion Flames with Flamelet model ,little question. AdidaKK Main CFD Forum 11 November 3, 2009 02:01
source terms in multiphase model prasanth FLUENT 0 November 10, 2003 01:47
turbulence model question Jason Wei Main CFD Forum 1 May 6, 2003 00:45

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