modified: anasen_fem/run.py added line sto archive the simulation files to save space.
modified: anasen_fem/wires_gmsh2d_bc.py made it refine twice instead of doing a weighed refinement to get a faster runtime. The losses in precision aren't too bad.
This commit is contained in:
parent
00c8a9378e
commit
e407b9842e
|
|
@ -15,7 +15,12 @@ while val<178.3+0.1:
|
|||
os.system("cp wires2d/elfield_anasen_t0001.vtu wires2d/vtu_files/elfield_anasen_%02d_%1.4f.vtu"%(count,val))
|
||||
os.system("cp contour_output.png png/Contour_output_z_%02d_%1.4f.png"%(count,val))
|
||||
os.system("cp Field_output.png png/Field_ouput_z_%02d_%1.4f.png"%(count,val))
|
||||
|
||||
val=val+17.83
|
||||
count = count + 1
|
||||
break
|
||||
|
||||
os.system("tar -cvzf wiress2d/mesh.tar.gz wires2d/mesh_files")
|
||||
os.system("rm -rf wires2d/mesh_files/*")
|
||||
os.system("tar -cvzf wires2d/sif.tar.gz wires2d/sif_files")
|
||||
os.system("rm -rf wires2d/sif_files/*")
|
||||
os.system("tar -cvzf wires2d/vtu.tar.gz wires2d/vtu_files")
|
||||
os.system("rm -rf wires2d/vtu_files/*")
|
||||
|
|
@ -2,7 +2,7 @@ Metadata for SaveScalars file: ./scalars.dat
|
|||
Elmer version: 26.1
|
||||
Elmer compilation date: 2026-03-15
|
||||
Solver input file: wires2d.sif
|
||||
File started at: 2026/04/01 17:39:04
|
||||
File started at: 2026/04/02 14:01:00
|
||||
|
||||
Variables in columns of matrix:
|
||||
1: res: potential difference
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@ gmsh.option.setNumber("Mesh.Algorithm", 6)
|
|||
|
||||
gmsh.model.mesh.generate(dim=2)
|
||||
gmsh.model.mesh.refine()
|
||||
gmsh.model.mesh.refine()
|
||||
gmsh.write("wires2d.msh")
|
||||
#gmsh.fltk.run()
|
||||
gmsh.finalize()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user