Running palace AWD demo projects for EM simulations which are verified.
Workflow for working with FreeCAD->Salome->Gmsh->palace
- create model in FreeCAD
- export files as .step files
- import them into Salome (I used v2023 version)
- make partition object from them (this is needed to create right fragmented and continuous mesh object)
- explode partitioned object (https://www.youtube.com/watch?v=EcA5I9orOCg)
- rename needed object (this is really picky step since you need explode volumes and shells)
- change for mesh view
- create mesh object over partitioned object (whole object which own all subojects)
- create submeshes for all child object and define tolerancies for submeshes
- recompute whole mesh
- observe mesh
- export mesh as .med file for Gmsh
- open mesh .med file in Gmsh
- export mesh as .msh file version 2.x is NEEDED!!!
- create .json simulation configurations (let's inspire already done simulation profiles) using .msh file
- run palace simulation over configuration .json file
- create plot result python script (mine is using panda library to print S11 params)
Palace AWS help page url: https://awslabs.github.io/palace/stable
This is how my environment in pycharm looks like when using palace which is running inside virtual box, this way I can edit all files at one place and not to be confused:
This is how editing mesh looks like in Salome MECA:
MFEM abort: (r,c,f) = (24,25,254) ... in function: int mfem::STable3D::operator()(int, int, int) const ... in file: /opt/palace-build/extern/mfem/general/stable3d.cpp:112
This error means there is some error in mesh. Mostly overlapping meshlines or something else, rework it.
Ports should be defined on planar flat region, not curved face or similar!!!