|March 21, 2011, 10:45||
Scalar Field Source Terms
Join Date: Mar 2011
Posts: 11Rep Power: 7
I am trying to add source terms of K and epsilon using the explicitSource class found in /src/finiteVolume/cfdTools/general/fieldSources/basicSource/
I am not having much success, and I do not know if my method is correct?
I have modified the simpleFoam solver, using the SimpleWindFoam tutorial as a guide that is included with version 1.7.1.
I added the following to the header of simpleFoam.C
added the following line at the end of createFileds.H
and added mesh tools to the INC and LIBS in make/Options as in simpleWindFoam.
I have compiled the solver OK, and tried running the solver. It reads the sourceProperties file but gives an error saying 'Header not OK' when it gets to the fieldData (where the fields and source values are defined. fieldData is defined as:
I am not sure why this doesn't work as I have successfully run the simpleWindFoam solver that uses the actuatorDisk source.
What have I missed? Is there a better way to add source terms?
|March 23, 2011, 06:25||
Join Date: Dec 2010
Posts: 60Rep Power: 8
Maybe you can add your source term directly into the k and epsilion or what ever equation using fvm::SuSp() oder just fvm::Su() /fvm:::SP()
|actuator disk, source terms|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Moving mesh||Niklas Wikstrom (Wikstrom)||OpenFOAM Running, Solving & CFD||122||June 15, 2014 06:20|
|Source Terms in Star-CCM+||mk_mat||CD-adapco||2||March 13, 2012 09:14|
|Source terms in local coordinate frames||CF||CFX||2||August 29, 2006 02:30|
|Displaying Source terms||Chris||FLUENT||0||June 14, 2006 15:20|
|Source Terms||Rajan||CFX||1||March 14, 2005 10:26|