roxieapi.output.forces module¶
- roxieapi.output.forces.convert_roxie_force_file_to_ansys(input_force_file_path: str, output_force_file_path: str) None [source]¶
Function preparing a force file for ANSYS from a ROXIE Lorentz force file, .force2d
- Parameters:
input_force_file_path – a name of a ROXIE Lorentz force file
output_force_file_path – a name of an output file for ANSYS
- roxieapi.output.forces.update_force2d_with_field_scaling(roxie_force_input_path: str, roxie_force_output_path: str, field: float, target_field: float) None [source]¶
Static method scaling ROXIE force with actual and target field
- Parameters:
roxie_force_input_path – input path with ROXIE Lorentz force
roxie_force_output_path – output path with ROXIE Lorentz force
field – actual field in tesla
target_field – target field in tesla