ICFDPart#

class ansys.dyna.core.pre.dynaicfd.ICFDPart(id)#

Defines a part for the ICFD solver.

Overview#

set_material

Set a material.

set_prescribed_velocity

Impose the fluid velocity on the boundary.

set_prescribed_pressure

Impose a fluid pressure on the boundary.

set_prescribed_temperature

Impose a fluid temperature on the boundary.

set_free_slip

Specify the fluid boundary with a free-slip boundary condition.

set_non_slip

Specify the fluid boundary with a non-slip boundary condition.

set_fsi

Define the fluid surface to consider in contact with the solid surfaces

compute_drag_force

Enable the computation of drag forces over given surface parts of the model.

compute_flux

Enable the computation of the flow rate and average pressure over given parts of the model.

compute_temperature

Enable the computation of the average temperature and the heat flux over given parts of the model.

set_boundary_layer

Define a boundary layer mesh as a refinement on the volume mesh.

set_boundary_layer_symmetry_condition

Specify the part that is to have symmetry conditions for the boundary layer.

set_imposed_move

Impose a velocity on a specific ICFD part.

set_property

Set properties for an ICFD part.

Import detail#

from ansys.dyna.core.pre.dynaicfd import ICFDPart

Attribute detail#

ICFDPart.stub#
ICFDPart.type = 'ICFD'#
ICFDPart.id#
ICFDPart.secid = 1#
ICFDPart.mid = 0#

Method detail#

ICFDPart.set_material(mat)#

Set a material.

ICFDPart.set_prescribed_velocity(motion, dof=ICFDDOF.X, velocity_flag=Vel.LINEAR_VELOCITY)#

Impose the fluid velocity on the boundary.

Parameters:
dofint, optional

Applicable degrees of freedom. The default is ICFDDOF.X. Options are:

  • EQ.1: x-degree of freedom

  • EQ.2: y-degree of freedom

  • EQ.3: z-degree of freedom

  • EQ.4: Normal direction degree of freedom

velocity_flagint, optional

Velocity flag. The default is LINEAR_VELOCITY. Options are:

  • EQ.1: Linear velocity

  • EQ.2: Angular velocity

  • EQ.3: Parabolic velocity profile

  • EQ.4: Activates synthetic turbulent field on part

ICFDPart.set_prescribed_pressure(pressure)#

Impose a fluid pressure on the boundary.

Parameters:
pressureCurve

Load curve to describe the pressure value versus time.

ICFDPart.set_prescribed_temperature(temperature)#

Impose a fluid temperature on the boundary.

Parameters:
temperatureCurve

Load curve to describe the temperature value versus time.

ICFDPart.set_free_slip()#

Specify the fluid boundary with a free-slip boundary condition.

ICFDPart.set_non_slip()#

Specify the fluid boundary with a non-slip boundary condition.

ICFDPart.set_fsi()#

Define the fluid surface to consider in contact with the solid surfaces for fluid-structure interaction (FSI) analysis.

ICFDPart.compute_drag_force()#

Enable the computation of drag forces over given surface parts of the model.

ICFDPart.compute_flux()#

Enable the computation of the flow rate and average pressure over given parts of the model.

ICFDPart.compute_temperature()#

Enable the computation of the average temperature and the heat flux over given parts of the model.

ICFDPart.set_boundary_layer(number=3)#

Define a boundary layer mesh as a refinement on the volume mesh.

Parameters:
numberint, optional

Number of elements normal to the surface (in the boundary layer). The default is 3.

ICFDPart.set_boundary_layer_symmetry_condition()#

Specify the part that is to have symmetry conditions for the boundary layer.

ICFDPart.set_imposed_move(vx=None, vy=None, vz=None)#

Impose a velocity on a specific ICFD part.

Parameters:
vx
vy
vz
ICFDPart.set_property()#

Set properties for an ICFD part.