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

Question on introducing new terms into an existing model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2011, 07:48
Default Question on introducing new terms into an existing model
  #1
New Member
 
Dominic
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:

http://www.cfd-online.com/Forums/ope...ion-error.html

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.

Dominic.
351Cleveland 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
about Subgrid-scale model impecca OpenFOAM Running, Solving & CFD 4 December 20, 2013 11:36
[ICEM] A question about model an architechture about vetilation sunnyonly ANSYS Meshing & Geometry 4 September 23, 2010 12:33
Diffusion Flames with Flamelet model ,little question. AdidaKK Main CFD Forum 11 November 3, 2009 03:01
source terms in multiphase model prasanth FLUENT 0 November 10, 2003 02:47
turbulence model question Jason Wei Main CFD Forum 1 May 6, 2003 01:45


All times are GMT -4. The time now is 13:09.