CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

The R condition is defined in FoamX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 12, 2005, 00:05
Default The R condition is defined in
  #1
li
Guest
 
Posts: n/a
The R condition is defined in tutorials/rhoTurbFoam/cavity FoamX, but I found it isn't uesed in the solver. why is it defined ?Someone can answer me.
Thanks.
  Reply With Quote

Old   June 12, 2005, 04:07
Default You found it isn't used? in
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 21
niklas will become famous soon enoughniklas will become famous soon enough
You found it isn't used?

in the UEqn.H, what is this then, turbulence->divRhoR(U)

It is probably not used by you, because you have not selected a turbulence model that use R.
Select the LaunderGibsonRSTM and let me know if you still think is is not used.

N
niklas is offline   Reply With Quote

Old   June 14, 2005, 11:37
Default Hi, I added a new solver to F
  #3
Member
 
David Segersson
Join Date: Mar 2009
Posts: 39
Rep Power: 9
segersson is on a distinguished road
Hi,
I added a new solver to FoamX. The solver makes use of a scalar field called "landuse". When a new case is created, I would like FoamX to create a file for this field in the /constant directory (as it does with U, epsilon, k etc. in the "runtime" directory). I've tried to add and modify FoamX config files (looked at how the gamma-variable is handled in iterFoam), but get an error message in FoamX - "The create Case operation failed due to malformed boundary type definition dictionary for pressureInlet".

What exactly does one have to do to make FoamX add a new field (volScalarField) when creating a case?

The variable in question will not be solved for, so the boundary conditions is not so important. It would be ok with zeroGradient, or fixedValue everywhere (I have tried this in the windFoam.cfg file ("windFoam" is the solver name)).
If anyone could give me advice on this, it would help me a lot.

Thanks
segersson is offline   Reply With Quote

Old   June 14, 2005, 14:34
Default I am not sure whether FoamX al
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
I am not sure whether FoamX allows you to put a field in the constant/ directory.

See if it works if you use a different boundary condition as default - maybe there is something special with the setup for pressureInlet.
mattijs 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
User defined scalar boundary condition Philip FLUENT 1 December 4, 2013 11:23
User Defined Pressure Boundary Condition Evan CD-adapco 4 February 2, 2009 05:09
About FoamX ivanyao OpenFOAM Installation 2 September 21, 2008 21:24
Run FoamX ghazi OpenFOAM Pre-Processing 7 July 9, 2006 14:48
User Defined Non Reflecting Boundary Condition Tengc FLUENT 1 November 17, 2004 14:58


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