Mod: database new fields
This commit is contained in:
parent
49368cc681
commit
fba3e53bb6
@ -146,6 +146,10 @@ class UltimateRunner(object):
|
||||
if not returncode:
|
||||
shapeParams.shapeStatus = "done"
|
||||
|
||||
shapeParams.volume = self.shape.shape.volume
|
||||
shapeParams.volumeCell = self.shape.cell.volume
|
||||
shapeParams.porosity = shapeParams.volume / shapeParams.volumeCell
|
||||
|
||||
else:
|
||||
logger.error(err)
|
||||
shapeParams.shapeStatus = "failed"
|
||||
|
@ -84,6 +84,14 @@ class FlowOnephase(Model):
|
||||
flowStatus = TextField(null = True, default = "idle")
|
||||
flowExecutionTime = TimeField(null = True)
|
||||
|
||||
pressureInlet = FloatField(null = True)
|
||||
pressureOutlet = FloatField(null = True)
|
||||
pressureInternal = FloatField(null = True)
|
||||
velocityInlet = FloatField(null = True)
|
||||
velocityOutlet = FloatField(null = True)
|
||||
velocityInternal = FloatField(null = True)
|
||||
viscosity = FloatField(null = True)
|
||||
density = FloatField(null = True)
|
||||
flowRate = FloatField(null = True)
|
||||
permeability = FloatField(null = True)
|
||||
|
||||
|
@ -8,4 +8,4 @@ dependencies:
|
||||
- poetry
|
||||
- sqlite
|
||||
- occt
|
||||
- netgen==master
|
||||
- netgen
|
||||
|
Loading…
Reference in New Issue
Block a user