Mod: simple

This commit is contained in:
L-Nafaryus 2021-05-13 20:51:26 +05:00
parent c2c0382c39
commit 1c1887a204
No known key found for this signature in database
GPG Key ID: C76D8DCD2727DBB7
11 changed files with 12207 additions and 19890 deletions

View File

@ -72,8 +72,8 @@ class simple:
fillet = True fillet = True
fineness = 1 fineness = 1
parameters = Parameters( parameters = Parameters(
minSize = 0.005, minSize = 0.01,
maxSize = 0.05, maxSize = 0.5,
growthRate = 0.5, growthRate = 0.5,
nbSegPerEdge = 0.5, nbSegPerEdge = 0.5,
nbSegPerRadius = 0.5, nbSegPerRadius = 0.5,

File diff suppressed because it is too large Load Diff

View File

@ -1,302 +0,0 @@
CRITICAL: Missed environment
INFO: --------------------------------------------------------------------------------
INFO: main:
task: 1 / 84
cpu count: 4
structure: simple
direction: [1, 0, 0]
theta: 0.01
fillet: False
export: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01
INFO: salome: ['start', '--shutdown-servers=1', '--port', '2810', '-t']
INFO: enviroment:
Python 3.9.4
Salome 9.6.0
OpenFOAM-v2012
INFO: --------------------------------------------------------------------------------
INFO: main:
task: 1 / 84
cpu count: 4
structure: simple
direction: [1, 0, 0]
theta: 0.01
fillet: False
export: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01
INFO: salome: ['start', '--shutdown-servers=1', '--port', '2810', '-t']
INFO: genMesh:
structure type: simple
coefficient: 0.01
fillet: 0
flow direction: [1, 0, 0]
export path: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01/mesh.unv
INFO: shape:
edges length: 60.95122652608073
surface area: 37.90423023682059
volume: 7.369852937284071
INFO: meshCreate:
fineness: Coarse
min size: 0.005
max size: 0.05
growth rate: 0.5
nb segs per edge: 0.5
nb segs per radius: 1.5
limit size by surface curvature: True
quad-dominated: False
second order: False
optimize: True
INFO: meshCreate:
viscous layers:
thickness: 0.005
number: 2
stretch factor: 1.2
INFO: meshCompute:
Elements: 332036
Edges: 1212
Faces: 31402
Triangles: 31402
Volumes: 299422
Tetrahedrons: 244554
Prisms: 54868
Pyramid: 0
INFO: meshExport:
format: unv
INFO: createMesh: elapsed time: 0:00:56.351503
INFO: ideasUnvToFoam: ['mesh.unv']
INFO: createPatch: ['-overwrite', '-dict', 'system/createPatchDict.symetry']
INFO: checkMesh: ['-allGeometry', '-allTopology']
WARNING: checkMesh:
Cells with small determinant (< 0.001) found, number of cells: 1129
Faces with small interpolation weight (< 0.05) found, number of faces: 65
INFO: transformPoints: ['-scale', '(1e-05 1e-05 1e-05)']
INFO: decomposePar: []
INFO: renumberMesh: ['-parallel', '-overwrite']
INFO: potentialFoam: ['-parallel']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: simpleFoam: ['-parallel']
ERROR: simpleFoam:
[3] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[3] #1 Foam::sigFpe::sigHandler(int) at ??:?
[3] #2 ? in /usr/lib64/libpthread.so.0
[3] #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
[3] #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[3] #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[3] #6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
[3] #7 Foam::fvMatrix<double>::solveSegregatedOrCoupled(Foam::dictionary const&) at ??:?
[3] #8 Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const at ??:?
[3] #9 ? in ~/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/bin/simpleFoam
[3] #10 __libc_start_main in /usr/lib64/libc.so.6
[3] #11 ? in ~/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/bin/simpleFoam
[elnafo:22022] *** Process received signal ***
[elnafo:22022] Signal: Floating point exception (8)
[elnafo:22022] Signal code: (-6)
[elnafo:22022] Failing at address: 0x3e800005606
[elnafo:22022] [ 0] /usr/lib64/libpthread.so.0(+0x13900)[0x7f628c2a3900]
[elnafo:22022] [ 1] /usr/lib64/libpthread.so.0(raise+0x141)[0x7f628c2a37a1]
[elnafo:22022] [ 2] /usr/lib64/libpthread.so.0(+0x13900)[0x7f628c2a3900]
[elnafo:22022] [ 3] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0xee)[0x7f628ccd67ee]
[elnafo:22022] [ 4] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x9b9)[0x7f628ccd85c9]
[elnafo:22022] [ 5] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x60b)[0x7f628ccda76b]
[elnafo:22022] [ 6] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x18b)[0x7f628ff9c49b]
[elnafo:22022] [ 7] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE24solveSegregatedOrCoupledERKNS_10dictionaryE+0x44b)[0x7f628f473d7b]
[elnafo:22022] [ 8] /home/nafaryus/programs/OpenFOAM/OpenFOAM-v2012/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixIdEERKNS_10dictionaryE+0x24)[0x7f628f418864]
[elnafo:22022] [ 9] simpleFoam(+0x272da)[0x55b38a1bc2da]
[elnafo:22022] [10] /usr/lib64/libc.so.6(__libc_start_main+0xea)[0x7f628c0f1e0a]
[elnafo:22022] [11] simpleFoam(+0x2872a)[0x55b38a1bd72a]
[elnafo:22022] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 0 on node elnafo exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
INFO: calculate: elapsed time: 0:00:55.554469
INFO: --------------------------------------------------------------------------------
INFO: main:
task: 2 / 84
cpu count: 4
structure: simple
direction: [1, 0, 0]
theta: 0.02
fillet: False
export: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.02
INFO: salome: ['start', '--shutdown-servers=1', '--port', '2810', '-t']
INFO: genMesh:
structure type: simple
coefficient: 0.02
fillet: 0
flow direction: [1, 0, 0]
export path: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.02/mesh.unv
INFO: shape:
edges length: 60.21103447685668
surface area: 37.190152146750385
volume: 7.114882727707145
INFO: meshCreate:
fineness: Coarse
min size: 0.005
max size: 0.05
growth rate: 0.5
nb segs per edge: 0.5
nb segs per radius: 1.5
limit size by surface curvature: True
quad-dominated: False
second order: False
optimize: True
INFO: meshCreate:
viscous layers:
thickness: 0.005
number: 2
stretch factor: 1.2
INFO: meshCompute:
Elements: 322995
Edges: 1204
Faces: 30602
Triangles: 30602
Volumes: 291189
Tetrahedrons: 237773
Prisms: 53416
Pyramid: 0
INFO: meshExport:
format: unv
INFO: createMesh: elapsed time: 0:00:53.272977
INFO: ideasUnvToFoam: ['mesh.unv']
INFO: createPatch: ['-overwrite', '-dict', 'system/createPatchDict.symetry']
INFO: checkMesh: ['-allGeometry', '-allTopology']
WARNING: checkMesh:
Cells with small determinant (< 0.001) found, number of cells: 384
Faces with small interpolation weight (< 0.05) found, number of faces: 316
INFO: transformPoints: ['-scale', '(1e-05 1e-05 1e-05)']
INFO: decomposePar: []
INFO: renumberMesh: ['-parallel', '-overwrite']
INFO: potentialFoam: ['-parallel']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: simpleFoam: ['-parallel']
CRITICAL: Missed environment
INFO: --------------------------------------------------------------------------------
INFO: main:
task: 1 / 84
cpu count: 4
structure: simple
direction: [1, 0, 0]
theta: 0.01
fillet: True
export: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01
INFO: salome: ['start', '--shutdown-servers=1', '--port', '2810', '-t']
INFO: genMesh:
structure type: simple
coefficient: 0.01
fillet: 1
flow direction: [1, 0, 0]
export path: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01/mesh.unv
INFO: shape:
edges length: 67.92273385609434
surface area: 37.44945519567929
volume: 7.368042673884656
INFO: meshCreate:
fineness: Coarse
min size: 0.005
max size: 0.05
growth rate: 0.5
nb segs per edge: 0.5
nb segs per radius: 1.5
limit size by surface curvature: True
quad-dominated: False
second order: False
optimize: True
INFO: meshCreate:
viscous layers:
thickness: 0.005
number: 2
stretch factor: 1.2
INFO: environment:
Python 3.9.4
Salome 9.6.0
OpenFOAM-v2012
INFO: environment:
Python 3.9.4
Salome 9.6.0
OpenFOAM-v2012
INFO: --------------------------------------------------------------------------------
INFO: main:
task: 1 / 84
cpu count: 4
structure: simple
direction: [1, 0, 0]
theta: 0.01
fillet: True
export: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01
INFO: salome: ['start', '--shutdown-servers=1', '--port', '2810', '-t']
INFO: genMesh:
structure type: simple
coefficient: 0.01
fillet: 1
flow direction: [1, 0, 0]
export path: /home/nafaryus/.vault/projects/anisotrope-cube/build/simple/direction-100/theta-0.01/mesh.unv
INFO: shape:
edges length: 67.92273385609434
surface area: 37.44945519567929
volume: 7.368042673884656
INFO: meshCreate:
fineness: Coarse
min size: 0.005
max size: 0.05
growth rate: 0.5
nb segs per edge: 0.5
nb segs per radius: 1.5
limit size by surface curvature: True
quad-dominated: False
second order: False
optimize: True
INFO: meshCreate:
viscous layers:
thickness: 0.005
number: 2
stretch factor: 1.2
INFO: meshCompute:
Elements: 478430
Edges: 3956
Faces: 61270
Triangles: 61270
Volumes: 413204
Tetrahedrons: 298712
Prisms: 114492
Pyramid: 0
INFO: meshExport:
format: unv
INFO: createMesh: elapsed time: 0:02:13.757935
INFO: ideasUnvToFoam: ['mesh.unv']
INFO: createPatch: ['-overwrite', '-dict', 'system/createPatchDict.symetry']
INFO: checkMesh: ['-allGeometry', '-allTopology']
WARNING: checkMesh:
Cells with small determinant (< 0.001) found, number of cells: 77
Concave cells (using face planes) found, number of cells: 3
Faces with small interpolation weight (< 0.05) found, number of faces: 128
Faces with small volume ratio (< 0.01) found, number of faces: 2
INFO: transformPoints: ['-scale', '(1e-05 1e-05 1e-05)']
INFO: decomposePar: []
INFO: renumberMesh: ['-parallel', '-overwrite']
INFO: potentialFoam: ['-parallel']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor0/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor1/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor2/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.type', '-set', 'pressureInletVelocity']
INFO: foamDictionary: ['processor3/0/U', '-entry', 'boundaryField.inlet.value', '-set', 'uniform (0 0 0)']
INFO: simpleFoam: ['-parallel']

5977
logs/anisotrope.log Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
Task 0:
structure: simple
direction: [1, 0, 0]
theta: 0.01
mesh: True
flow: False

504
logs/tasks.log Normal file
View File

@ -0,0 +1,504 @@
Task 0:
structure: simple
direction: [1, 0, 0]
theta: 0.01
mesh: True
flow: True
Task 1:
structure: simple
direction: [1, 0, 0]
theta: 0.02
mesh: True
flow: True
Task 2:
structure: simple
direction: [1, 0, 0]
theta: 0.03
mesh: True
flow: True
Task 3:
structure: simple
direction: [1, 0, 0]
theta: 0.04
mesh: True
flow: True
Task 4:
structure: simple
direction: [1, 0, 0]
theta: 0.05
mesh: True
flow: True
Task 5:
structure: simple
direction: [1, 0, 0]
theta: 0.06
mesh: True
flow: True
Task 6:
structure: simple
direction: [1, 0, 0]
theta: 0.07
mesh: True
flow: True
Task 7:
structure: simple
direction: [1, 0, 0]
theta: 0.08
mesh: True
flow: True
Task 8:
structure: simple
direction: [1, 0, 0]
theta: 0.09
mesh: True
flow: True
Task 9:
structure: simple
direction: [1, 0, 0]
theta: 0.1
mesh: True
flow: True
Task 10:
structure: simple
direction: [1, 0, 0]
theta: 0.11
mesh: True
flow: True
Task 11:
structure: simple
direction: [1, 0, 0]
theta: 0.12
mesh: True
flow: True
Task 12:
structure: simple
direction: [1, 0, 0]
theta: 0.13
mesh: True
flow: True
Task 13:
structure: simple
direction: [1, 0, 0]
theta: 0.14
mesh: True
flow: True
Task 14:
structure: simple
direction: [1, 0, 0]
theta: 0.15
mesh: True
flow: True
Task 15:
structure: simple
direction: [1, 0, 0]
theta: 0.16
mesh: True
flow: True
Task 16:
structure: simple
direction: [1, 0, 0]
theta: 0.17
mesh: True
flow: True
Task 17:
structure: simple
direction: [1, 0, 0]
theta: 0.18
mesh: True
flow: True
Task 18:
structure: simple
direction: [1, 0, 0]
theta: 0.19
mesh: True
flow: True
Task 19:
structure: simple
direction: [1, 0, 0]
theta: 0.2
mesh: True
flow: True
Task 20:
structure: simple
direction: [1, 0, 0]
theta: 0.21
mesh: True
flow: True
Task 21:
structure: simple
direction: [1, 0, 0]
theta: 0.22
mesh: True
flow: True
Task 22:
structure: simple
direction: [1, 0, 0]
theta: 0.23
mesh: True
flow: True
Task 23:
structure: simple
direction: [1, 0, 0]
theta: 0.24
mesh: True
flow: True
Task 24:
structure: simple
direction: [1, 0, 0]
theta: 0.25
mesh: True
flow: True
Task 25:
structure: simple
direction: [1, 0, 0]
theta: 0.26
mesh: True
flow: True
Task 26:
structure: simple
direction: [1, 0, 0]
theta: 0.27
mesh: True
flow: True
Task 27:
structure: simple
direction: [1, 0, 0]
theta: 0.28
mesh: True
flow: True
Task 28:
structure: simple
direction: [0, 0, 1]
theta: 0.01
mesh: True
flow: True
Task 29:
structure: simple
direction: [0, 0, 1]
theta: 0.02
mesh: True
flow: True
Task 30:
structure: simple
direction: [0, 0, 1]
theta: 0.03
mesh: True
flow: True
Task 31:
structure: simple
direction: [0, 0, 1]
theta: 0.04
mesh: True
flow: True
Task 32:
structure: simple
direction: [0, 0, 1]
theta: 0.05
mesh: True
flow: True
Task 33:
structure: simple
direction: [0, 0, 1]
theta: 0.06
mesh: True
flow: False
Task 34:
structure: simple
direction: [0, 0, 1]
theta: 0.07
mesh: True
flow: True
Task 35:
structure: simple
direction: [0, 0, 1]
theta: 0.08
mesh: True
flow: True
Task 36:
structure: simple
direction: [0, 0, 1]
theta: 0.09
mesh: True
flow: True
Task 37:
structure: simple
direction: [0, 0, 1]
theta: 0.1
mesh: True
flow: True
Task 38:
structure: simple
direction: [0, 0, 1]
theta: 0.11
mesh: True
flow: True
Task 39:
structure: simple
direction: [0, 0, 1]
theta: 0.12
mesh: True
flow: True
Task 40:
structure: simple
direction: [0, 0, 1]
theta: 0.13
mesh: True
flow: True
Task 41:
structure: simple
direction: [0, 0, 1]
theta: 0.14
mesh: True
flow: True
Task 42:
structure: simple
direction: [0, 0, 1]
theta: 0.15
mesh: True
flow: True
Task 43:
structure: simple
direction: [0, 0, 1]
theta: 0.16
mesh: True
flow: True
Task 44:
structure: simple
direction: [0, 0, 1]
theta: 0.17
mesh: True
flow: True
Task 45:
structure: simple
direction: [0, 0, 1]
theta: 0.18
mesh: True
flow: True
Task 46:
structure: simple
direction: [0, 0, 1]
theta: 0.19
mesh: True
flow: True
Task 47:
structure: simple
direction: [0, 0, 1]
theta: 0.2
mesh: True
flow: True
Task 48:
structure: simple
direction: [0, 0, 1]
theta: 0.21
mesh: True
flow: True
Task 49:
structure: simple
direction: [0, 0, 1]
theta: 0.22
mesh: True
flow: True
Task 50:
structure: simple
direction: [0, 0, 1]
theta: 0.23
mesh: True
flow: True
Task 51:
structure: simple
direction: [0, 0, 1]
theta: 0.24
mesh: True
flow: True
Task 52:
structure: simple
direction: [0, 0, 1]
theta: 0.25
mesh: True
flow: True
Task 53:
structure: simple
direction: [0, 0, 1]
theta: 0.26
mesh: True
flow: True
Task 54:
structure: simple
direction: [0, 0, 1]
theta: 0.27
mesh: True
flow: True
Task 55:
structure: simple
direction: [0, 0, 1]
theta: 0.28
mesh: True
flow: True
Task 56:
structure: simple
direction: [1, 1, 1]
theta: 0.01
mesh: True
flow: True
Task 57:
structure: simple
direction: [1, 1, 1]
theta: 0.02
mesh: True
flow: True
Task 58:
structure: simple
direction: [1, 1, 1]
theta: 0.03
mesh: True
flow: True
Task 59:
structure: simple
direction: [1, 1, 1]
theta: 0.04
mesh: True
flow: True
Task 60:
structure: simple
direction: [1, 1, 1]
theta: 0.05
mesh: True
flow: True
Task 61:
structure: simple
direction: [1, 1, 1]
theta: 0.06
mesh: True
flow: True
Task 62:
structure: simple
direction: [1, 1, 1]
theta: 0.07
mesh: True
flow: True
Task 63:
structure: simple
direction: [1, 1, 1]
theta: 0.08
mesh: True
flow: True
Task 64:
structure: simple
direction: [1, 1, 1]
theta: 0.09
mesh: True
flow: True
Task 65:
structure: simple
direction: [1, 1, 1]
theta: 0.1
mesh: True
flow: True
Task 66:
structure: simple
direction: [1, 1, 1]
theta: 0.11
mesh: True
flow: True
Task 67:
structure: simple
direction: [1, 1, 1]
theta: 0.12
mesh: True
flow: True
Task 68:
structure: simple
direction: [1, 1, 1]
theta: 0.13
mesh: True
flow: True
Task 69:
structure: simple
direction: [1, 1, 1]
theta: 0.14
mesh: True
flow: True
Task 70:
structure: simple
direction: [1, 1, 1]
theta: 0.15
mesh: True
flow: True
Task 71:
structure: simple
direction: [1, 1, 1]
theta: 0.16
mesh: True
flow: True
Task 72:
structure: simple
direction: [1, 1, 1]
theta: 0.17
mesh: True
flow: True
Task 73:
structure: simple
direction: [1, 1, 1]
theta: 0.18
mesh: True
flow: True
Task 74:
structure: simple
direction: [1, 1, 1]
theta: 0.19
mesh: True
flow: True
Task 75:
structure: simple
direction: [1, 1, 1]
theta: 0.2
mesh: True
flow: True
Task 76:
structure: simple
direction: [1, 1, 1]
theta: 0.21
mesh: True
flow: True
Task 77:
structure: simple
direction: [1, 1, 1]
theta: 0.22
mesh: True
flow: True
Task 78:
structure: simple
direction: [1, 1, 1]
theta: 0.23
mesh: True
flow: True
Task 79:
structure: simple
direction: [1, 1, 1]
theta: 0.24
mesh: True
flow: True
Task 80:
structure: simple
direction: [1, 1, 1]
theta: 0.25
mesh: True
flow: True
Task 81:
structure: simple
direction: [1, 1, 1]
theta: 0.26
mesh: True
flow: True
Task 82:
structure: simple
direction: [1, 1, 1]
theta: 0.27
mesh: True
flow: True
Task 83:
structure: simple
direction: [1, 1, 1]
theta: 0.28
mesh: True
flow: True

View File

@ -28,10 +28,10 @@ def bodyCenteredCubic(theta = 0.01, fillet = False, direction = [1, 0, 0]):
yw = xl yw = xl
zh = height zh = height
C1, C2 = 0.8, 0.05 C1, C2 = 0.8, 0.5 #0.8, 0.05
theta1, theta2 = 0.01, 0.18 theta1, theta2 = 0.01, 0.13
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1) Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
filletradius = Cf * (radius - r0) filletradius = 0.05 - Cf * (radius - r0)
scale = 100 scale = 100
oo = geompy.MakeVertex(0, 0, 0) oo = geompy.MakeVertex(0, 0, 0)
@ -179,7 +179,7 @@ def bodyCenteredHexagonalPrism(theta = 0.01, fillet = False, direction = [1, 1,
point.append((L / 3 + xl, L / 3 + yw, 4 * L / 3 + zh)) point.append((L / 3 + xl, L / 3 + yw, 4 * L / 3 + zh))
C1, C2 = 0.8, 0.05 C1, C2 = 0.8, 0.05
theta1, theta2 = 0.01, 0.18 theta1, theta2 = 0.01, 0.13
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1) Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
filletradius = Cf * (radius - r0) filletradius = Cf * (radius - r0)

View File

@ -26,10 +26,10 @@ def simpleCubic(theta = 0.01, fillet = False, direction = [1, 0, 0]):
yw = xl yw = xl
zh = height zh = height
C1, C2 = 0.8, 0.05 C1, C2 = 0.8, 0.5 #0.8, 0.05
theta1, theta2 = 0.01, 0.28 theta1, theta2 = 0.01, 0.28
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1) Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
filletradius = Cf * (radius - r0) filletradius = 0.2 - Cf * (radius - r0)
scale = 100 scale = 100
oo = geompy.MakeVertex(0, 0, 0) oo = geompy.MakeVertex(0, 0, 0)
@ -165,10 +165,10 @@ def simpleHexagonalPrism(theta = 0.01, fillet = False, direction = [1, 1, 1]):
point.append((2 * L / 3 + xl, 5 * L / 3 + yw, 2 * L / 3 + zh)) point.append((2 * L / 3 + xl, 5 * L / 3 + yw, 2 * L / 3 + zh))
point.append((L + xl, L + yw, L + zh)) point.append((L + xl, L + yw, L + zh))
C1, C2 = 0.8, 0.05 C1, C2 = 0.8, 0.5 # 0.8, 0.05
theta1, theta2 = 0.01, 0.28 theta1, theta2 = 0.01, 0.28
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1) Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
filletradius = Cf * (radius - r0) filletradius = 0.2 - Cf * (radius - r0)
scale = 100 scale = 100
oo = geompy.MakeVertex(0, 0, 0) oo = geompy.MakeVertex(0, 0, 0)

View File

@ -28,7 +28,7 @@ def runExecute(port: int, scriptpath: str, *args) -> int:
scriptpath, "args:{}".format(", ".join([str(arg) for arg in args]))] scriptpath, "args:{}".format(", ".join([str(arg) for arg in args]))]
logger.info("salome: {}".format(cmd[1 : 6])) logger.info("salome: {}".format(cmd[1 : 6]))
#logpath = os.path.join() logpath = os.path.join("/".join(args[4].split("/")[:-1]), "salome.log")
#p = subprocess.Popen(["salome", "start", "--shutdown-servers=1", "--port", str(port), "-t", scriptpath, "args:{}".format(", ".join([str(arg) for arg in args]))], #p = subprocess.Popen(["salome", "start", "--shutdown-servers=1", "--port", str(port), "-t", scriptpath, "args:{}".format(", ".join([str(arg) for arg in args]))],
# stderr = subprocess.STDOUT) # stderr = subprocess.STDOUT)
@ -36,17 +36,18 @@ def runExecute(port: int, scriptpath: str, *args) -> int:
with subprocess.Popen(cmd, with subprocess.Popen(cmd,
stdout = subprocess.PIPE, stdout = subprocess.PIPE,
stderr = subprocess.PIPE) as p: stderr = subprocess.PIPE) as p, \
open(logpath, "wb") as logfile:
#for line in p.stdout: for line in p.stdout:
# sys.stdout.buffer.write(line) # sys.stdout.buffer.write(line)
# logfile.write(line) logfile.write(line)
out, err = p.communicate() out, err = p.communicate()
print(str(err, "utf-8")) #print(str(err, "utf-8"))
#logfile.write(err) logfile.write(err)
if err and p.returncode == 1: if err:
logger.error("salome:\n\t{}".format(str(err, "utf-8"))) logger.error("salome:\n\t{}".format(str(err, "utf-8")))
#if err: #if err:
# if p.returncode == 1: # if p.returncode == 1:

5708
temp/bodyCenteredCubic.step Normal file

File diff suppressed because it is too large Load Diff