DynaICFD
#
- class ansys.dyna.core.pre.dynaicfd.DynaICFD#
Bases:
ansys.dyna.core.pre.dynabase.DynaBase
Contains methods for create a keyword related to an ICFD analysis.
Overview#
Set the total time of the simulation for the fluid problem. |
|
Specify the type of CFD analysis. |
|
Modify default values for screen and file outputs related to the fluid solver only. |
|
Modify the default values for the turbulence model. |
|
Activate coupling between the ICFD and DEM solvers. |
|
Define a section for the ICFD solver. |
|
Define parts for the ICFD solver. |
|
Change the default tolerance values for the mesh movement algorithm. |
|
Assign the initial condition to all nodes at once. |
|
Impose a velocity on the whole volume mesh. |
|
Save keyword files. |
Import detail#
from ansys.dyna.core.pre.dynaicfd import DynaICFD
Attribute detail#
- DynaICFD.timestep = 0#
- DynaICFD.termination = 1e+28#
Method detail#
- DynaICFD.set_termination(termination_time)#
Set the total time of the simulation for the fluid problem.
- Parameters:
- termination_time
float
Total time of the simulation for the fluid problem.
- termination_time
- DynaICFD.create_control_general(atype=0, mtype=0, dvcl=0, rdvcl=0)#
Specify the type of CFD analysis.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
- DynaICFD.create_control_output(msgl)#
Modify default values for screen and file outputs related to the fluid solver only.
- DynaICFD.create_control_turbulence(tmod)#
Modify the default values for the turbulence model.
- DynaICFD.create_control_dem_coupling(ctype=0, bt=0, dt=1e+28, sf=1)#
Activate coupling between the ICFD and DEM solvers.
- Parameters:
- ctype
int
,optional
Coupling direction to the solver. The default is
0
.- bt
float
,optional
Birth time for the DEM coupling. The default is
0
.- dt
float
,optional
Death time for the DEM coupling. The default is
1e28
.- sf
float
,optional
Scale factor to apply to the force transmitted by the fluid to the structure. The default is
1
.
- ctype
- Returns:
- bool
True
when successful,False
when failed.
- DynaICFD.create_section_icfd(sid)#
Define a section for the ICFD solver.
- DynaICFD.create_part_icfd(pid, secid, mid)#
Define parts for the ICFD solver.
- DynaICFD.create_solver_tol_mmov(atol=1e-08, rtol=1e-08)#
Change the default tolerance values for the mesh movement algorithm.
- DynaICFD.set_initial(velocity=Velocity(0, 0, 0), temperature=0, pressure=0)#
Assign the initial condition to all nodes at once.
- DynaICFD.set_imposed_move(vx=None, vy=None, vz=None)#
Impose a velocity on the whole volume mesh.
- Parameters:
- vx
- vy
- DynaICFD.save_file()#
Save keyword files.