|
[Sponsors] |
January 28, 2010, 05:49 |
Switching to my own DPM_LAW
|
#1 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Hello World.
I'm trying to use the DEFINE_DPM_SWITCH function to switch to my own combustion law. So far no magic. BUT: The other laws (1,4,5,6) should still be present! Instead of law 6 I want my own law. If I type this into a function Code:
DEFINE_DPM_SWITCH(dpmSwitch,p,uncoupled) { if (P_CURRENT_LAW(p) == 5) { P_CURRENT_LAW(p) = DPM_LAW_USER_1; } } So, is there a way to include the standard switches, or do I have to actually type them into my own switch?!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
February 2, 2010, 09:55 |
|
#2 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
I'm really stuck at this problem.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
Tags |
dpm_law, dpm_switch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switching forum software. Import question. | Peter | Main CFD Forum | 14 | January 23, 2009 07:56 |
Switching Forum Software, Opinions Wanted | Jonas Larsson | Main CFD Forum | 42 | December 23, 2008 05:34 |
Cleaning up PATH and LD_LIBRARY_PATH when switching between different versions of OpenFOAM | mbeaudoin | OpenFOAM Bugs | 1 | March 12, 2008 05:29 |
3D axis switching in a turbulent jet | fluidsguy1001 | FLUENT | 0 | November 6, 2007 18:18 |
switching from coupled solver to segregated | Oz | FLUENT | 2 | November 8, 2006 17:02 |