Module containing the specific Static Analysis Solution class.
- class ansys.dpf.post.static_analysis.StaticAnalysisSolution(data_sources, model)#
Static solution class, which will provide all the API for Static analysis.
- displacement(**kwargs)#
Get a displacement object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> displacement = solution.displacement(node_scoping = [1, 43])
- elastic_strain(**kwargs)#
Get an elastic strain object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> elastic_strain = solution.elastic_strain(node_scoping = [1, 43])
- get_result_info()#
Get result file information.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> print(solution.get_result_info()) Static analysis Unit system: MKS: m, kg, N, s, V, A, degC Physics Type: ... Available results: - displacement: Nodal Displacement - reaction_force: Nodal Force - stress: ElementalNodal Stress - elemental_volume: Elemental Volume - stiffness_matrix_energy: Elemental Energy-stiffness matrix - artificial_hourglass_energy: Elemental Hourglass Energy - thermal_dissipation_energy: Elemental thermal dissipation energy - kinetic_energy: Elemental Kinetic Energy - co_energy: Elemental co-energy - incremental_energy: Elemental incremental energy - elastic_strain: ElementalNodal Strain - element_euler_angles: ElementalNodal Element Euler Angles - structural_temperature: ElementalNodal Structural temperature
- property mesh#
Mesh representation of the model.
Returns the
ansys.dpf.core.MeshedRegion
class.
- plastic_strain(**kwargs)#
Return a plastic strain object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> plastic_strain = solution.plastic_strain(node_scoping = [1, 43])
- stress(**kwargs)#
Get a stress object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> stress = solution.stress(node_scoping = [1, 43])
- structural_temperature(**kwargs)#
Get a temperature object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.download_all_kinds_of_complexity()) >>> temperature = solution.structural_temperature(node_scoping = [1, 43])
- property time_freq_support#
Description of the temporal/frequency analysis of the model.
- class ansys.dpf.post.static_analysis.ThermalStaticAnalysisSolution(data_sources, model)#
Static solution class, which will provide all the API for Static analysis.
- electric_field(**kwargs)#
Get an electric field object from which you can possible to get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.electric_therm) >>> ef = solution.electric_field(node_scoping = [1, 43])
- electric_potential(**kwargs)#
Get an electric potential object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.electric_therm) >>> ep = solution.electric_potential(node_scoping = [1, 43])
- get_result_info()#
Get result file information.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.static_rst) >>> print(solution.get_result_info()) Static analysis Unit system: MKS: m, kg, N, s, V, A, degC Physics Type: ... Available results: - displacement: Nodal Displacement - reaction_force: Nodal Force - stress: ElementalNodal Stress - elemental_volume: Elemental Volume - stiffness_matrix_energy: Elemental Energy-stiffness matrix - artificial_hourglass_energy: Elemental Hourglass Energy - thermal_dissipation_energy: Elemental thermal dissipation energy - kinetic_energy: Elemental Kinetic Energy - co_energy: Elemental co-energy - incremental_energy: Elemental incremental energy - elastic_strain: ElementalNodal Strain - element_euler_angles: ElementalNodal Element Euler Angles - structural_temperature: ElementalNodal Structural temperature
- heat_flux(**kwargs)#
Get a heat flux object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.steady_therm) >>> hf = solution.heat_flux(node_scoping = [1, 43])
- property mesh#
Mesh representation of the model.
Returns the
ansys.dpf.core.MeshedRegion
class.
- temperature(**kwargs)#
Get a temperature object, from which you can possibly get result data.
- Parameters:
**kwargs – List of keyword arguments. You can use the
print_available_keywords
method to find keyword arguments.
Examples
>>> from ansys.dpf import post >>> from ansys.dpf.post import examples >>> solution = post.load_solution(examples.steady_therm) >>> temp = solution.temperature(node_scoping = [1, 43])
- property time_freq_support#
Description of the temporal/frequency analysis of the model.