This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
simple_electrostatic_simulation_in_femm_-_step-by-step_tutorial [2021/05/11 20:27] stanzurek [Step 9 - material library] |
simple_electrostatic_simulation_in_femm_-_step-by-step_tutorial [2021/05/11 22:08] (current) stanzurek [Step 19 - that's it!] |
||
|---|---|---|---|
| Line 42: | Line 42: | ||
| {{enter_point.png}} Fig. 3-2. Entering point with coordinates (0,0) | {{enter_point.png}} Fig. 3-2. Entering point with coordinates (0,0) | ||
| - | Click on the '' | + | Click on the '' |
| Then click on the '' | Then click on the '' | ||
| Line 108: | Line 108: | ||
| - | The library window has two parts. On the left (" | + | The library window has two parts. On the left (" |
| The part on the right is for all the materials which will be accessible within the given model. Simply use the mouse to drag-and-drop method to drag the given material from the left to the right sub-window. | The part on the right is for all the materials which will be accessible within the given model. Simply use the mouse to drag-and-drop method to drag the given material from the left to the right sub-window. | ||
| Line 117: | Line 117: | ||
| ==== Step 10 - boundary ==== | ==== Step 10 - boundary ==== | ||
| - | FEM equations require boundary conditions to be solved. They act as a reference point. Many different conditions can be specified, but for a simple | + | FEM equations require boundary conditions to be solved. They act as a reference point. Many different conditions can be specified, but for a simple |
| - | This "open boundary" | + | This "open boundary" |
| - | {{open_boundary.png?500}} Fig. 10-1. Create open boundary automatically | + | {{el/ |
| - | After accepting there will be many cirles | + | After accepting there will be many circles |
| - | {{open_boundary2.png?500}} Fig. 10-2. Open boundary created | + | {{el/ |
| ---- | ---- | ||
| ==== Step 11 - block labels, materials, currents ==== | ==== Step 11 - block labels, materials, currents ==== | ||
| - | Every part in the model must have a material data assigned to it, so FEMM know how to solve it. Each area completely surrounded by blue lines or arcs represtents | + | Every part in the model must have a material data assigned to it, so FEMM know how to solve it. Each area completely surrounded by blue lines or arcs represents |
| - | After selecting the option click somewhere (anywhere) inside of each block, as shown in Fig. 11-1. A green point called ''< | + | After selecting the option click somewhere (anywhere) inside of each block, as shown in Fig. 11-1. A green point called ''< |
| - | {{block_labels.png?500}} Fig. 11-1. Add block points | + | {{el/ |
| Then each green point has to be configured. Right-click on a given point and press **'' | Then each green point has to be configured. Right-click on a given point and press **'' | ||
| - | In the window, use the drop down list to select material type or "Block type". For example, '' | + | In the window, use the drop down list to select material type or "Block type". For example, '' |
| The drop down list will also contain the '' | The drop down list will also contain the '' | ||
| Line 147: | Line 147: | ||
| * The "In group" variable can be used to group some objects. All objects have by definition group = 0. But this can be set to other value so that several objects can be a part of the same group. This is useful for editing (move, copy, rotate) or results analysis (select all objects in the group easily). | * The "In group" variable can be used to group some objects. All objects have by definition group = 0. But this can be set to other value so that several objects can be a part of the same group. This is useful for editing (move, copy, rotate) or results analysis (select all objects in the group easily). | ||
| - | {{block_labels2.png?500}} Fig. 11-2. Configure block labels | + | {{el/ |
| - | If the given block has some imposed current flowing through then it is also set in the same window. Fig. 11-3 and Fig. 11-4 show how to set current in the circular wires. FEMM uses the approach | + | The geometry represents a capacitor with two plates. The inside |
| - | There is no need to draw each individual wire. It is sufficient to draw the whole rectangular cross-section shape of the coil and assign a number of turns the the whole area (such that N > 1). | + | {{el/ |
| - | {{copper_and_current.png?500}} Fig. 11-3. Set current | + | Now each plate needs to have the voltage assigned to ALL the lines and arcs which belong to that plate. Lines and arcs need to be set separately. |
| - | The frame core is configured as "Pure iron" | + | Select the "line" |
| - | {{plus_minus_n.png?600}} Fig. 11-4. Final model | + | {{el/ |
| + | |||
| + | {{el/ | ||
| + | |||
| + | Repeat the same for the right plate, to assign " | ||
| + | |||
| + | {{el/ | ||
| ---- | ---- | ||
| Line 168: | Line 174: | ||
| If some block label was left undefined then this message will say something like: | If some block label was left undefined then this message will say something like: | ||
| - | | //Created mesh with 12239 nodes.// \\ //Grey mesh lines denote regions that have no block label.// | + | | //Created mesh with 11957 nodes.// \\ //Grey mesh lines denote regions that have no block label.// |
| It is necessary to define ALL block labels. | It is necessary to define ALL block labels. | ||
| - | {{mesh.png?500}} Fig. 12-1. Mesh (automatically generated) | + | {{el/mesh_el.png?500}} Fig. 12-1. Mesh (automatically generated) |
| ---- | ---- | ||
| ==== Step 13 - analyse / solve ==== | ==== Step 13 - analyse / solve ==== | ||
| - | Analysis is executed by clicking the " | + | Analysis is executed by clicking the " |
| - | As soon as the small window | + | As soon as the small window |
| + | If there are errors in the model or material data the solution might not converge. If the computation time is excessive typically there is a problem somewhere in the model (block labels, double labels, wrong boundary, etc.) | ||
| - | For all-linear models the calculation finishes in one step. For non-linear models it takes many iterations. For highly non-linear models (e.g. with deep saturation) or with large very dense mesh, the calculatiations can take very long time. | + | {{el/ |
| - | + | ||
| - | If there are errors in the model or material data the solution might not converge. If the computation time is exessive typically there is a problem somewhere in the model (block labels, double labels, wrong boundary, etc.) | + | |
| - | + | ||
| - | {{analyse.png?500}} Fig. 13-1. Analyse / solve | + | |
| ---- | ---- | ||
| Line 197: | Line 200: | ||
| These two options can be accessed also through: '' | These two options can be accessed also through: '' | ||
| - | {{solution1.png?500}} Fig. 14-1. Results window, | + | {{el/ |
| - | Clicking the " | + | Clicking the " |
| Don't forget to tick the "Show Density Plot" box! | Don't forget to tick the "Show Density Plot" box! | ||
| - | |||
| - | {{solution2.png? | ||
| - | |||
| - | Flux density |B| plot with the flux lines disabled is shown in Fig. 14-3. | ||
| - | |||
| - | {{solution3.png? | ||
| Line 213: | Line 210: | ||
| ==== Step 15 - plot data along line ==== | ==== Step 15 - plot data along line ==== | ||
| - | In the solution window, use the "red line" icon (Fig. 15-1) to draw a path of lines or arcs, between any two existing points (left-click of mouse) or between any arbitrary points (righ-click of mouse). Once the path is created, various values can be plotter along that line, from the beginning to its end, in the same order as it was drawn. | + | In the solution window, use the "red line" icon (Fig. 15-1) to draw a path of lines or arcs, between any two existing points (left-click of mouse) or between any arbitrary points (right-click of mouse). Once the path is created, various values can be plotter along that line, from the beginning to its end, in the same order as it was drawn. |
| + | |||
| + | Use " | ||
| The path can end at the same point it started. | The path can end at the same point it started. | ||
| - | To plot, press the " | + | To plot, press the " |
| Note that there is an option to export/ | Note that there is an option to export/ | ||
| - | {{graph_of_line.png?500}} Fig. 15-1. Draw path to plot data | + | {{el/line_el.png?500}} Fig. 15-1. Draw path to plot data |
| - | {{graph_js_plus_je.png}} Fig. 15-2. Select data to plot or export to file | + | {{el/line_el2.png?500}} Fig. 15-2. Plotted graph |
| - | The graph will be opened in a new window. For AC simulations, | + | ---- |
| + | ==== Step 16 - line integral ==== | ||
| - | {{eddy_current_graph.png? | + | Some values can be integrated over lines or blocks. Draw a line, and then chose the integral icon, Fig. 16-1. |
| - | ---- | + | The calculated voltage is exactly |
| - | ==== Step 16 - block integral | + | |
| - | Some values can be integrated over the whole blocks. To select a block use the "green square" | + | {{el/ |
| - | Then click on the " | ||
| - | {{block_integral1.png? | ||
| - | A pop-up window will appear (Fig. 16-2), and the drop-down list can be used to select the value of interest. After accepting, the value will be evaluated and shown in another pop-up window, Fig. 16-3. | ||
| - | {{block_integral2.png}} Fig. 16-2. Select type of integral | ||
| - | |||
| - | {{block_integral3.png}} Fig. 16-3. Calculated value of integral | ||
| ---- | ---- | ||
| ==== Step 17 - conductor info ==== | ==== Step 17 - conductor info ==== | ||
| - | The losses in the ciruict (energised coil) can be integrated with the block method described above, but much reacher information is provided | + | Info about the given conductor |
| + | |||
| + | If there is more than one conductor defined then it can be selected from the drop-down list. | ||
| - | If there is more than one current/circuit defined then it can be selected from the drop-down list. | + | Capacitance |
| - | {{conductor_info.png?600}} Fig. 17-1. Circuit | + | {{el/ |
| ---- | ---- | ||
| Line 262: | Line 257: | ||
| If snap-to-grid is enabled then only the grid positions will be available. | If snap-to-grid is enabled then only the grid positions will be available. | ||
| - | {{data_at_any_point.png}} Fig. 18-1. Click anywhere to get values | + | {{el/ |
| ---- | ---- | ||
| Line 268: | Line 263: | ||
| ==== Step 19 - that's it! ==== | ==== Step 19 - that's it! ==== | ||
| - | And that's all - now you can run a simple FEMM magnetics | + | And that's all - now you can run a simple FEMM electrostatic |
| {{page> | {{page> | ||