Está en la página 1de 38

Workshop 2

Meshing Methods
14. 0 Release

Introduction to ANSYS
Meshing
1 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Introducción
Trasnfondo
• Este taller presentará diferentes
métodos de mallado disponibles en
ANSYS Meshing. Un archivo CAD se
importará directamente a la aplicación
de malla. Se requiere acceso a
DesignModeler para la etapa final del
taller, que demuestra cómo la
descomposición puede influir en los
métodos de malla.
Objectivos
• Conformación automática del parche Tet
• Tet Patch Independiente
• Multizona
• Malla de montaje (CutCell)
• Descomposición para las mallas de
barrido
• Automatico (Tet & Sweep)
2 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Inicio del Proyecto
Crear el proyecto
• Iniciar el banco de trabajo.
– Start>All Programs>ANSYS
14.0>Workbench 14.0.
– Arrastre y suelte un sistema de
componentes de malla en el
esquema del proyecto.
• Haga clic derecho en Geometry cell
(A2) y seleccione Import
Geometry>Browse.
• Localiza el archivo “component.stp”
en la carpeta Input-Files de Meshing
workshop y selecciónelo. La celda de
geometría mostrará una marca de
verificación que indica que está
actualizada..
• Haga doble clic en
la celda de malla
(A3) para iniciar la
malla.
3 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Unidades

Establecer unidades
• En el menú principal, seleccione Unidades y, si aún no está
configurado, especifique Métrica

4 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Preparación
Planificación
• Este archivo CAD contiene un solo cuerpo que
representa un componente en un sistema de
ventilación.
• El flujo entra por el tubo superior, pasa por la
cámara y sale por el tubo inferior. Hay varios
pequeños respiraderos circulares impresos en
la cara frontal de la cámara.
• Casi todos los métodos de malla se pueden
aplicar aquí, la selección de qué método usar
depende de la velocidad, el uso de la memoria,
los requisitos de eliminación y cualquier
restricción específica de la malla para resolver
problemas.
• Demostraremos cómo se aplican los diferentes
métodos (incluida la inflación) y resaltaremos
las diferencias importantes en las mallas
resultantes.

5 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Configuraciones globales de malla
Malla
• En el esquema, seleccione el objeto Malla para
mostrar los detalles de “Malla”.

• En Detalles de "Malla", configure lo siguiente


en Valores predeterminados;
– Preferencia de física: CFD.
– Preferencia Solver: FLUENT.
• Bajo tamaño, establecer;
– Centro de Relevancia: Medio
– Utilice la función de tamaño avanzado:
Encendido: Curvatura.

6 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Configuraciones globales de malla

Malla
• En Estadísticas, establecer;
– Acoplamiento Métrico: Calidad Ortogonal.

7 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Selecciones con nombre
Añadir selecciones con nombre
• Seleccione el filtro de selección de caras
• Seleccione la cara superior como se muestra a continuación,
haga clic con el botón derecho y seleccione Crear selección
con nombre en el menú contextual.
• En el cuadro de diálogo Selección con nombre, escriba el
nombre “entrada” y haga clic en Aceptar.

8 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Selecciones con nombre

Añadir selecciones con nombre


• Haga lo mismo para la cara inferior como
se muestra a continuación, esta vez
ingresando el nombre “outlet”.
• Las Selecciones nombradas se enumerarán
en el Esquema (derecha).

9 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Inflación global y método automático
Configurar la inflación global
• En Detalles de "Malla", establezca lo
siguiente en Inflación.
– Utilice la inflación automática:
Programa controlado.
– Opción de inflación: Espesor total.
– Número de capas 4.
– Grosor Máximo 0.003m

• Esto generará capas de inflación en todas


las caras, excluyendo aquellas para las
que hemos creado Selecciones con
nombre.
• Genera la malla.

10 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Método automático

Ver la malla
• Haga clic derecho en la ventana de
gráficos y seleccione Vista isométrica
en el menú contextual.

• El Método Automático ha
seleccionado el Método de
Tetraedros usando el Algoritmo de
Conformidad de Parches.
• La malla se ha adaptado a todos los
detalles geométricos.
• Todas las superficies, excepto las
selecciones con nombre de entrada y
salida, se han inflado.

11 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Método automático
Crear un plano de sección
• Ajústese a la vista + Z usando la
Tríada del Eje.

• Seleccione el botón Plano de sección.

• Cree un plano de sección haciendo


clic, arrastrando y soltando como se
muestra verticalmente a través de la
malla.
• Restaure la vista isométrica con el
botón derecho del menú contextual o
la tríada del eje.

12 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Método automático
Ver el interior de malla
• Acércate usando el botón Cuadro de
zoom para inspeccionar la malla. Use el
botón Zoom para ajustar para restaurar
las extensiones de la vista.
• El Método Automático predeterminado
siempre usa Tetraedros de
Conformación de Parches y / o Barrido
dependiendo de la Geometría - en este
caso no barrido solo se usaron
Tetraedros de Conformación de Parches.
Ahora veremos cómo se puede acceder a
otros métodos.
• Desactive el Plano de sección
desactivando la casilla en el Panel.

13 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Insertando Métodos Manualmente

Insertar un método
• Haga clic con el botón derecho en el
objeto Malla en el Esquema y
seleccione Borrar datos generados en
el menú contextual seleccionando Sí
cuando se le solicite que confirme.

• Seleccione el filtro de selección de


cuerpo.

• En la ventana gráfica, seleccione el


cuerpo, haga clic con el botón
derecho y seleccione Insertar>
Método en el menú contextual como
se muestra.

14 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Detalles del método de configuración

Establecer los detalles del método


• Un Objeto de Método, por defecto a
Automático, se inserta en el Esquema.

• En los Detalles del método se accede al


tipo de método a través de un cuadro
desplegable que expone los métodos de
malla disponibles.
• El método establecido aquí se aplica al
cuerpo inicialmente seleccionado.

15 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Tetraedros Parche Independiente

Establecer los detalles del método


• El método automático es el mismo que el
predeterminado que acabamos de
demostrar.
• Establecer el método a tetraedros.
• Establecer algoritmo para parche
independiente.
– Ya hemos visto el ajuste de parches
usado con el método automático.
– Cuando se selecciona Patch
Independent, aparece una serie de
configuraciones específicas de Patch
Independent que controlan el tamaño y
la configuración. Estos se pueden dejar
a los valores por defecto.
• Genera la malla.
16 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Tetraedros Parche Independiente
Ver la malla
• El Método independiente de parches
utiliza un tipo diferente y específico
de algoritmo de inflación
(publicación), el cuadro de mensaje
puede indicar esto junto con una
advertencia sobre la resolución de la
malla. Es posible que también haya
notado que ha tomado más tiempo
generar la malla.
• Tenga en cuenta la eliminación
automática de las pequeñas caras
impresas presentes en la geometría.
• Este comportamiento puede ser útil
para destruir modelos grandes de
CAD.
• Encienda el plano de sección para ver
el interior de la malla.

17 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Tetraedros Parche Independiente

Ver el interior de malla


• Tenga en cuenta la inflación y la
estructura interna de la malla.
• Cuando esté listo para continuar,
apague el plano de sección y limpie la
malla como antes. Al hacer clic
derecho en el objeto de malla en el
esquema y seleccionar Borrar datos
generados en el menú contextual.

18 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Multi Zona
Establecer los detalles del método
• Seleccione el Objeto del método en el
Esquema (asume el nombre del Método
del conjunto actual).

• En los Detalles cambia el Método a


MultiZone.
– Los detalles cambiarán a aquellos
específicos del Método MultiZone.
– Establezca el tipo de malla libre en
Tetra.
• Genera la malla.

19 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


MultiZone

View the Mesh


• MultiZone has generated an all quad
surface mesh.
• Note again, the automatic
defeaturing of the small imprinted
faces present on the geometry.
– Multizone is also a method that is
categorised as Patch Independent
and, like the Tetrahedrons Patch
Independent Method is capable of
automatic defeaturing.

• Switch on the Section Plane to view


the mesh interior.

20 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


MultiZone

View the Mesh Interior


• MultiZone has automatically created
structured hex cells where possible
and used tetrahedrons elsewhere.
The type of mesh used in the
unstructured region was determined
by the Free Mesh setting which we
set to Tetra.

• This automatic decomposition is, in


the Meshing Application, a feature
unique to MultiZone.

• Switch off the Section Plane and clear


the mesh when ready to proceed.

21 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Assembly Meshing - CutCell

Activate Assembly Meshing


• Assembly Meshing is not inserted as
a method but must be activated in
the Global Details.
• Suppress the Method Object by right
clicking on it in the Outline and
selecting Suppress.
– This will deactivate the method
but will preserve the settings
should we decide to reuse it.

• Select the Mesh Object in the Outline


to display Details of “Mesh”.
• Under Assembly Meshing set Method
to CutCell and Tessellation
Refinement to None.
22 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Assembly Meshing - CutCell

Set Model Material


• Assembly meshing requires that the
model material be specified either in
the geometry application or in
meshing.
• Select the body in the Outline as
shown to display its details.

• In the Details, under Material, set


Fluid/Solid to Fluid.

• Generate the Mesh.

23 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Assembly Meshing - CutCell

View the Mesh


• Assembly/CutCell produces a
cartesian CutCell mesh which
imprints to the geometry.
• It is a Patch Independent method and
so demonstrates defeaturing. It
produces a large quantity of hex cells
and is useful in cases that would
otherwise require significant
geometry cleanup.

• Switch on the Section Plane to view


the mesh interior.

24 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Assembly Meshing - CutCell

View the Mesh Interior


• The Assembly Meshing/CutCell
method has filled the geometry with
primarily hex cells using Tetrahedron,
Pyramid and Wedge cells where
required.

• Switch off the Section Plane and clear


the mesh when ready to proceed.

• We will now look at Sweep Meshing.


• In the Details of “Mesh”, under
Assembly Meshing Set Method to
None to deactivate it.

25 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Save the Project

• If you do not have access to DesignModeler the workshop is


now complete and you can save the Project.
– From the Workbench Project Page use the file menu and
save the project as “AMWS2.wbpj” to your working folder.

• If you do have access to DesignModeler proceed to the next


slide.

26 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Sweep Meshing

Sweep Requirement
• The Sweep Method can produce high
quality, accurate meshes quickly.
• In order to generate a sweep mesh
we must have sweepable bodies.
• We will decompose the geometry in
DesignModeler to illustrate how this
can be accomplished.
• From the Workbench Project Page,
launch DesignModeler by double
clicking the Geometry Cell (A2).
– Leave the Meshing Application
Open.

27 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


DesignModeler

Set Units
• When DesignModeler starts up select
Meter in the Units Selection Box and
click OK.

28 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Preparation

Planning
• A simple way of decomposing this geometry
into sweepable bodies would be to separate
the upper and lower cylindrical bodies. Source Face

• As separate bodies they meet the criteria for


the Sweep Method.

Mappable
Side Face

Decompose by
Slicing

Target Face

Single Body Multi-Body

29 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Decomposition

Slice the Geometry


• The geometry import will require
generation first.
• Click Generate.

• Select Slice from the Create Menu.

• In the Details View set Slice Type to


Slice by Edge Loop.
• Activate the Edges Selection Box and
select the two edges as shown.
• Apply the selection.
• Generate.

30 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Decomposition

Slice the Geometry


• Select the three bodies, right click
and select Form New Part from the
Context Menu.

• Check you have 1 Part, 3 Bodies .


• Close DesignModeler.

31 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Automatic Method (Tetra & Sweep)

Method Setup
• In the Meshing Application right click
on Geometry in the Outline and
select Refresh Geometry.
• Like Patch Conforming Tetrahedrons,
we can insert the Sweep Method
manually or simply allow the
Automatic Method to allocate the
methods for us.
• We will mesh the modified geometry
using the Automatic Method to
demonstrate this.
• Since we have deactivated assembly
meshing and suppressed the method
we had used earlier the Meshing
Application will now default to the
Automatic Method.
32 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Automatic Method (Tetra & Sweep)

Inflation for Sweepable Bodies


• The Global Program Controlled
Inflation we have used so far is not
compatible with Sweep meshing so
we must create a local inflation
control.
• Select the two faces as shown, right
click and select Insert > Inflation from
the Context Menu.

• The Meshing Application will inflate


from the boundary edges of these
faces and treat them as source faces
for the sweep meshes.

33 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Automatic Method (Tetra & Sweep)

Inflation for Sweepable Bodies


• In Details of “Inflation ” activate the
Boundary Selection Box, select the
two edges bounding each of the
source faces as shown and apply the
selection.

• Set the Following;


– Inflation Option: Total Thickness.
– Number of Layers: 4.
– Maximum Thickness 0.003m.

• Generate the mesh.

34 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Automatic Method (Tetra & Sweep)

View the Mesh


• The Automatic Method has produced
hex swept meshes with inflation in
the cylindrical bodies and Patch
Conforming Tetrahedrons in the
Chamber body.

• Switch on the Section Plane to view


the mesh interior.

35 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Automatic Method (Tetra & Sweep)

View the Mesh Interior


• The global inflation used in the
chamber body has ‘stair stepped’
down to the interface between the
bodies (you will have seen a message
indicating this)
– You could add a local inflation
control to the chamber body to
create continuous layers.
• Although Sweep meshes generally
require more consideration during
geometry construction or CAD
decomposition they produce good
quality meshes quickly and efficiently
and when combined with tetrahedral
methods prove to be an accurate,
flexible and well validated approach.
36 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0
Named Selections

Reassign Named Selections


• You can reassign the Named Selections by selecting them in
the outline.
• Activate the Geometry Selection Box in the Details, reselect
the appropriate face and apply.
• Do this for the outlet too.

37 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0


Save the Project

• This completes the workshop.


• From the main menu select File>Close Meshing
– Workbench will save any application data.

• From the Workbench Project Page use the file menu and save
the project as “AMWS2.wbpj” to your working folder.

38 © 2011 ANSYS, Inc. May 5, 2019 Release 14.0

También podría gustarte