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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: 351Cleveland
Forum: OpenFOAM Programming & Development October 4, 2013, 10:31
Replies: 17
Views: 2,992
Posted By 351Cleveland
It appears that's solved the problem nicely -...

It appears that's solved the problem nicely - looks like the routine I used wasn't working correctly and causing negative values to slip through into the following equations.

I would like to thank...
Forum: OpenFOAM Programming & Development October 4, 2013, 09:23
Replies: 17
Views: 2,992
Posted By 351Cleveland
I've included the yliq equation and the...

I've included the yliq equation and the correction routine along with the equations implemented immediately after in the .C file. Although the yliq field seems to solves without issue, it is only...
Forum: OpenFOAM Programming & Development October 4, 2013, 05:53
Replies: 17
Views: 2,992
Posted By 351Cleveland
After taking your advice, I built a debug version...

After taking your advice, I built a debug version of openfoam 2.2.1 and ran my code using gdb as the debugger and found something very interesting from the error log:



P {...
Forum: OpenFOAM Programming & Development October 2, 2013, 09:01
Replies: 17
Views: 2,992
Posted By 351Cleveland
From the working version of the equation in the...

From the working version of the equation in the above post, all values (without yliq included) return as positive, and all values for yliq calculated separately are filtered to either return zero or...
Forum: OpenFOAM Programming & Development October 2, 2013, 08:54
Replies: 17
Views: 2,992
Posted By 351Cleveland
Ah, my apologies for missing that out. That is...

Ah, my apologies for missing that out. That is also set at a fixed value of 0.3 - identical to one of the air inlet values. I've managed to get a modified form of the equation working as follows:

...
Forum: OpenFOAM Programming & Development October 2, 2013, 08:41
Replies: 17
Views: 2,992
Posted By 351Cleveland
Fixed value (very turbulent flow) at twin air...

Fixed value (very turbulent flow) at twin air inlets and the compressible epsilon wall function at the boundaries with a value of 1e-12 and zeroGradient at the outlet - its my first compressible case...
Forum: OpenFOAM Programming & Development October 2, 2013, 08:30
Replies: 17
Views: 2,992
Posted By 351Cleveland
Certainly, I've included the yliq equation - yvap...

Certainly, I've included the yliq equation - yvap currently isn't fully implemented so won't be solving anything at this stage.


rEQ_ =...
Forum: OpenFOAM Programming & Development October 2, 2013, 08:02
Replies: 17
Views: 2,992
Posted By 351Cleveland
denliq is set at a constant dimensioned value of...

denliq is set at a constant dimensioned value of 1000 - but is implemented as a field rather than a constant due to a number of other tests I was running, unfortunately substituting it with an...
Forum: OpenFOAM Programming & Development October 2, 2013, 06:42
Replies: 17
Views: 2,992
Posted By 351Cleveland
Foam::pow function error

Hello again forum,

I've been having trouble with a power function I've implemented in a modified compressible k-epsilon turbulence model.
The equation is as follows:

rEQ = Cr *...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 03:24.