[Cython] Added the radial pressure gradient as the property FlameBase.L
Resolves Issue 142.
This commit is contained in:
parent
3c6f87274b
commit
9010ecc644
1 changed files with 8 additions and 0 deletions
|
|
@ -839,6 +839,14 @@ class FlameBase(Sim1D):
|
|||
"""
|
||||
return self.profile(self.flame, 'V')
|
||||
|
||||
@property
|
||||
def L(self):
|
||||
"""
|
||||
Array containing the radial pressure gradient (1/r)(dP/dr) [N/m^4] at
|
||||
each point. Note: This value is named 'lambda' in the C++ code.
|
||||
"""
|
||||
return self.profile(self.flame, 'lambda')
|
||||
|
||||
def solution(self, component, point=None):
|
||||
if point is None:
|
||||
return self.profile(self.flame, component)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue