Mod: db models
This commit is contained in:
parent
5a490a98d2
commit
4f528318da
@ -9,11 +9,45 @@ class Structure(BaseModel):
|
||||
direction = TextField()
|
||||
theta = FloatField()
|
||||
|
||||
r0 = FloatField()
|
||||
L = FloatField()
|
||||
radius = FloatField()
|
||||
length = FloatField()
|
||||
width = FloatField()
|
||||
height = FloatField()
|
||||
|
||||
fillets = FloatField()
|
||||
path = TextField()
|
||||
|
||||
class Mesh(BaseModel):
|
||||
structure = ForeignKeyField(Structure, backref = "meshes")
|
||||
|
||||
maxSize = FloatField()
|
||||
minSize = FloatField()
|
||||
|
||||
fineness = IntegerField()
|
||||
growthRate = FloatField()
|
||||
nbSegPerEdge = FloatField()
|
||||
nbSegPerRadius = FloatField()
|
||||
|
||||
chordalErrorEnabled = BooleanField()
|
||||
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