Changes

All the mesh generators of [[EM.Cube]]'s individual computational modules have default settings, which produce a reasonably fine discretization of your physical structure. The most important mesh parameter is the mesh resolution. This can be expressed either as a global mesh density, i.e. the number of cells per wavelength, or by a cell size or maximum cell edge length. Many of [[EM.Cube]] mesh types can be customized at the local level of object groups or even at the level of individual objects.
== Generating & Viewing To generating and viewing the Mesh == ICON: mesh of your physical structure in any [[File:mesh_iconEM.pngCube]] MENU:  '''Simulate → Discretization → Show Mesh''' '''Simulate → Discretization → Regenerate Mesh''' KEYBOARD SHORTCUT: '''Ctrl+M''' TO GENERATE AND VIEW A MESHmodule, follow the steps below:
# Click the '''Show Mesh''' [[File:mesh_tool.png]] button of the Simulate Toolbar.
# To exit the mesh view mode, press the keyboard's {{key|Esc}} key or click the '''Show Mesh''' [[File:mesh_tool.png]] button once again.
Once a mesh is generated, it stays in the memory until the structure is changed or the mesh density or other settings are modified. Every time you view mesh, the one in the memory is displayed. You can force [[EM.Cube]] to create a new mesh from the ground up by selecting the menu item '''Simulate → Discretization → Regenerate Mesh''' or by right clicking on the '''Mesh''' item in the "Discretization" section of the navigation tree and selecting '''Regenerate''' from the contextual menu.
PYTHON COMMAND: To customizing the mesh()  NOTES, SPECIAL CASES OR EXCEPTIONS: Once a mesh is generated, it stays in the memory until the of your physical structure is changed or change some of the mesh density or other settings are modified. Every time you view mesh, the one in the memory is displayed. You can force each [[EM.Cube]] to create a new mesh from module, follow the ground up by selecting the menu item '''Simulate → Discretization → Regenerate Mesh''' or by right clicking on the '''Mesh''' item in the "Discretization" section of the navigation tree and selecting '''Regenerate''' from the contextual menu. == Customizing the Mesh == ICON: [[File:meshset_icon.png]] MENU: '''Simulate → Discretization → Mesh Settings...''' KEYBOARD SHORTCUT: '''Ctrl+G''' TO CUSTOMIZE A MESHsteps below:
# Click the '''Mesh Settings''' [[File:mesh_settings.png]] button of the Simulate Toolbar.
# Click the OK button of the dialog to return to the project workspace.
You can change the mesh algorithm from the dropdown list labeled '''Mesh Type''' if there is more than one option. You can also enter a different value for '''Mesh Density''' in cells per effective wavelength (&lambda;<sub>eff</sub>). For each value of mesh density, the dialog also shows the average &quot;Cell Edge Length&quot; in the free space.
 
 
PYTHON COMMAND: mesh()
 
cubecad_mesh_settings(cell_size,angle_tol)
 
emtempo_mesh_settings(cells_per_lambda,ratio_contour,ratio_thin,ratio_abs)
 
emterrano_mesh_settings(edge_length,angle_tol)
 
emillumina_mesh_settings(cells_per_lambda)
 
emferma_mesh_settings(cell_size_x,cell_size_y,cell_size_z)
 
empicasso_mesh_settings(cells_per_lambda)
 
emlibera_mesh_settings(cells_per_lambda)
== Adaptive Yee Mesh ==
28,333
edits