comsol multiphysics - didatticaweb

41
Comsol Multiphysics Anno Accademico 2018/2019 Cristina Falcinelli, PhD

Upload: others

Post on 13-Feb-2022

42 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Comsol Multiphysics - DidatticaWEB

Comsol Multiphysics

Anno Accademico 2018/2019

Cristina Falcinelli, PhD

Page 2: Comsol Multiphysics - DidatticaWEB

COMSOL Multiphysics• Almost all physical phenomena can be described by partial differential equations (PDEs)

• In general, almost all cases fall into the class that has “non-trivial” or “non-analytical” solutions

• Then numerical methods as Finite Element (FE) method are necessary to solve the problem

Powerful interactive environment for modeling and solving all kinds of scientific and engineering problems based on partial differential equations through FE analysis

COMSOL

Page 3: Comsol Multiphysics - DidatticaWEB

COMSOL Multiphysics

FE method uses discretization (nodes and elements) to model the domain: the problem system is subdivided into small components called elements and the elements are comprised of nodes MESHING

Finite ElementsNodal Points

Page 4: Comsol Multiphysics - DidatticaWEB

COMSOL Multiphysics

Finite Elements

Nodal Points

1D ElementsLine

2D ElementsTriangular, Quadrilateral

Plates, Shells

3D ElementsTetrahedral, Rectangular

Prism (Brick)

Page 5: Comsol Multiphysics - DidatticaWEB

COMSOL Multiphysics

Finite Elements

Nodal Points

• Assign nodes to each element and then choose the interpolation function to represent the variation of the variable over the element.

• Obtain a set of algebraic equations to solve for unknown (first) nodal quantity (displacement).

• Secondary quantities (stresses and strains) are expressed in terms of nodal values of primary quantity

Features:

Page 6: Comsol Multiphysics - DidatticaWEB

COMSOL Multiphysics

Finite Elements

Nodal Points

Different fields of application:

Page 7: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics approach

Fluid Flow

Chemical Reactions

Acoustics

Electromagnetic Fields

Heat Transfer

Structural Mechanics

User Defined Equations

Page 8: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Tips and useful informations:

• English

• LiveLink for Matlab

• Unit of measure

• Help

Page 9: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Wizard(Creatore Modelli)

or Blank Model(Modello Vuoto)

Page 10: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Wizard or Blank Model

Page 11: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Select Space Dimension

Page 12: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Select Physics e.g. StructuralMechanics

Page 13: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Select Physics e.g. StructuralMechanics Solid Mechanics ADD

Page 14: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Study

Page 15: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

e.g. Stationary

Done

Page 16: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Page 17: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Wizard or Blank Model

Page 18: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Page 19: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Add Component1D, 2D, 3D

AddPhysics

AddStudy

Page 20: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Recovery file

Page 21: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Documentation

Page 22: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Documentation

Page 23: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Documentation

Searchexpression

Page 24: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

ApplicationLibraries

Page 25: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

ApplicationLibraries

Open ApplicationOpen PDF Document

Page 26: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Page 27: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Definitions

Parameters

Page 28: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Geometry

The geometry can becreated or imported

Page 29: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsMaterial

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Page 30: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsPhysics

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Page 31: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsMesh

Physics-controlledmesh

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Extremely fineExtra fineFinerFineNormal….

Page 32: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsMesh

User-controlledmesh

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

SizeFree Tetrahedral

Page 33: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsSolve

Compute

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Page 34: Comsol Multiphysics - DidatticaWEB

The COMSOL MultiphysicsResults

Model Builder: The model tree gives an overview of the model and all

the functionality and operations needed for building and solving a modelas well as processing the results

Post-processing

Page 35: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Settings Window: click any node in the model tree to see itsassociated settings window displayed next to the Model Builder

Page 36: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Settings Window: click any node in the model tree to see itsassociated settings window displayed next to the Model Builder

WidthDepthHeight

Page 37: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Graphics Window: The graphics window presents interactive graphics

for the geometry, mesh and results. Operations include rotating, panning, zooming and selecting

Page 38: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

How to set up and run a simulation with Comsol Multiphysics?

Simulation workflow:

• Set up model environment

• Create geometrical objects

• Specify material properties

• Define physics boundary conditions

• Create the mesh

• Run the simulation

• Postprocess the results

Page 39: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

Let’s start with an example!

Page 40: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

1) Cubetto di materiale elastico lineare isotropo a cui applichiamo un campo di deformazioni (homogeneous strain BC) misuriamo le

tensioni generate. Per definire un materiale elastico lineare isotropo servono solo due costanti materiali E e ν (E=12 GPa, ν=0.32)

In elasticità lineare:

Matrice di rigidezza (6X6) Matrice di cedevolezza (6X6)

Se il materiale non possiede simmetrie costitutive (materiale anisotropo), le due matrici hanno 21 costanti elastiche indipendenti nel caso di materiale isotropo le costanti elastiche indipendenti si riducono a 2

Page 41: Comsol Multiphysics - DidatticaWEB

The COMSOL Multiphysics

1) Cubetto di materiale elastico lineare ortotropo a cui applichiamo un campo di deformazioni (homogeneous strain BC) misuriamo le

tensioni generate. Materiale ortotropo: esistono 3 piani di simmetria ortogonali tra loro.

In elasticità lineare:

Matrice di rigidezza (6X6) Matrice di cedevolezza (6X6)

Se il materiale non possiede simmetrie costitutive (materiale anisotropo), le due matrici hanno 21 costanti elastiche indipendenti nel caso di materiale ortotropo le costanti elastiche indipendenti si riducono a 9