Skip to content

LubomirJagos42/palace-aws-demo

Repository files navigation

palace-aws-demo

Running palace AWD demo projects for EM simulations which are verified.

Workflow for working with FreeCAD->Salome->Gmsh->palace

  1. create model in FreeCAD
  2. export files as .step files
  3. import them into Salome (I used v2023 version)
  4. make partition object from them (this is needed to create right fragmented and continuous mesh object)
  5. explode partitioned object (https://www.youtube.com/watch?v=EcA5I9orOCg)
  6. rename needed object (this is really picky step since you need explode volumes and shells)
  7. change for mesh view
  8. create mesh object over partitioned object (whole object which own all subojects)
  9. create submeshes for all child object and define tolerancies for submeshes
  10. recompute whole mesh
  11. observe mesh
  12. export mesh as .med file for Gmsh
  13. open mesh .med file in Gmsh
  14. export mesh as .msh file version 2.x is NEEDED!!!
  15. create .json simulation configurations (let's inspire already done simulation profiles) using .msh file
  16. run palace simulation over configuration .json file
  17. 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: pycharm_environment_for_simulation

This is how editing mesh looks like in Salome MECA: image

Errors - explanation

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!!!

About

Running palace AWD demo projects for EM simulations which are verified.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages