Mod: db models
This commit is contained in:
parent
5a490a98d2
commit
4f528318da
@ -9,11 +9,45 @@ class Structure(BaseModel):
|
|||||||
direction = TextField()
|
direction = TextField()
|
||||||
theta = FloatField()
|
theta = FloatField()
|
||||||
|
|
||||||
|
r0 = FloatField()
|
||||||
|
L = FloatField()
|
||||||
|
radius = FloatField()
|
||||||
|
length = FloatField()
|
||||||
|
width = FloatField()
|
||||||
|
height = FloatField()
|
||||||
|
|
||||||
|
fillets = FloatField()
|
||||||
|
path = TextField()
|
||||||
|
|
||||||
class Mesh(BaseModel):
|
class Mesh(BaseModel):
|
||||||
|
structure = ForeignKeyField(Structure, backref = "meshes")
|
||||||
|
|
||||||
maxSize = FloatField()
|
maxSize = FloatField()
|
||||||
minSize = FloatField()
|
minSize = FloatField()
|
||||||
|
|
||||||
|
fineness = IntegerField()
|
||||||
|
growthRate = FloatField()
|
||||||
|
nbSegPerEdge = FloatField()
|
||||||
|
nbSegPerRadius = FloatField()
|
||||||
|
|
||||||
chordalErrorEnabled = BooleanField()
|
chordalErrorEnabled = BooleanField()
|
||||||
chordalError = FloatField()
|
chordalError = FloatField()
|
||||||
calculationTime = TimeField()
|
|
||||||
structure = ForeignKeyField(Structure, backref = "mesh")
|
secondOrder = BooleanField()
|
||||||
|
optimize = BooleanField()
|
||||||
|
quadAllowed = BooleanField()
|
||||||
|
useSurfaceCurvature = BooleanField()
|
||||||
|
fuseEdges = BooleanField()
|
||||||
|
checkChartBoundary = BooleanField()
|
||||||
|
|
||||||
|
viscousLayers = BooleanField()
|
||||||
|
thickness = FloatField()
|
||||||
|
numberOfLayers = IntegerField()
|
||||||
|
stretchFactor = FloatField()
|
||||||
|
isFacesToIgnore = BooleanField()
|
||||||
|
#facesToIgnore = ["inlet", "outlet"]
|
||||||
|
#faces = []
|
||||||
|
#extrusionMethod = ExtrusionMethod.SURF_OFFSET_SMOOTH
|
||||||
|
calculationTime = TimeField()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user