Professional Documents
Culture Documents
1
COMSOL Multiphysics:
COMSOL modeling flow
available modules
• Select the appropriate model attributes (Wizard)
– Dimension 3D vs.2D vs. 1D, etc.
– Choose physics elements
• Draw or import the model geometry, add materials
• Set up the subdomain equations (satisfied internally
within geometry) and boundary conditions
• Mesh geometry
Modules available
in P&A computer • Solve the model
room for the • Apply postprocessing, plot results
duration of course
2
Setting up geometry Adding materials
Creating geometry in COMSOL from the Work Plane: • Material can be added from Materials library (either
• Start with 2D geometry modeling, then use extrude, global, or local)
revolve, sweep to convert to 3D – Each material is specified in terms of relevant parameters,
e.g., thermal expansion coefficient
• Primitive solid objects: block, cone, cylinder, sphere,
– Properties required by the physics but missing in the
etc.; parametric helix, curves, surfaces material are marked with a warning sign
• Interpolation curves; boolean operations union, – Blank material with user-defined properties can be added
intersection, difference, and partition • Extended Material library can be added as a module
• Hybrid modeling with solids, surfaces, curves, and (2,500 materials)
points
3
Report generation Connecting to other packages
• To document your models, the COMSOL Report • COMSOL provides access to scripting
Generator provides a comprehensive report of the environment through LiveLinks (up to version 3.4
entire model, including graphics and parameters of there was an internal scripting language)
the geometry, mesh, physics parameters, boundary • In addition to CAD-type programs, LiveLink
conditions, and postprocessing quantities interfaces are available for Excel and Matlab
• You can save the report as an HTML (with all • Data processing (e.g., statistical analysis), access
links) or Word (with TOC) file for viewing and to modeling tools from Excel/Matlab interface
further editing
4
Model for hands-on: Electrical Model for hands-on: Electrical
Heating in a Busbar Heating in a Busbar
• Governing equations:
• Solver does Laplace equation 2V 0 for electric
(k T ) Q e Q0 0 potential with boundary conditions
Q 0 h (T ext T ) • From V – finds E, from E finds J, from J·E – heat
Qe J E source Qe
J 0 , J s E , E V V 0
2
• Next, heat transfer equation is solved: Poisson
Parameters: equation for temperature with Qe heat source and
Heat source Qe due to the electric current; heat sink Q0 due to convection heat sink
convection; solid thermal conductivity k, temperature T, electric
conductivity s; J - current density (A/m2), E - electric field
strength (V/m)
References
• Introduction to COMSOL Multiphysics, www.comsol.com
• W. B. J. Zimmerman, Multiphysics modelling with finite
element methods, World Scientific, 2008