The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hi experts,
How to create the road files with many obstacles and road files with CSV files?
Thanks
Hello Brian,
Please refer to the online help for detailed information about creating road files. https://help.altair.com/hwdesktop/hwx/topics/chapter_heads/road_modeling_r.htm
For many obstacles, there are options to choose from for 3d spline road that can be added. https://help.altair.com/hwdesktop/hwx/topics/motionview/road_tools_roads_sample_files_r.htm
There should also be example road files in your installation directory.
Example : "C:\Program Files\Altair\2023.1\hwdesktop\hw\mdl\autoentities\properties\Tires\ALTAIR_ROADS"
Is the csv file for the road centerline (can specify that in the driver event)? XZ data for a polyline (place values in an .rdf file, see example polyline files in installation directory) ?
rdf Example:
$---------------------------------------------------------------UNITS [UNITS] LENGTH = 'meter' FORCE = 'newton' ANGLE = 'degrees' MASS = 'kg' TIME = 'sec' $----------------------------------------------------------DEFINITION [MODEL] PROPERTY_FILE_FORMAT = 'USER' FUNCTION_NAME = 'mbdtire.dll::ROAD_ALTAIR' METHOD = '3D_SPLINE' $-----------------------------------------------------ROAD_PARAMETERS [GLOBAL_PARAMETERS] CLOSED_ROAD = 'NO' SEARCH_ALGORITHM = 'FAST' ROAD_VERTICAL = '0.0 0.0 1.0' FORWARD_DIR = 'NORMAL' MU_LEFT = 1.2 MU_RIGHT = 1.2 WIDTH = 12.000 $---------------------------------------------------------DATA_POINTS [DATA_POINTS] { X Y Z WIDTH BANK MU_LEFT MU_RIGHT OBSTACLES } -1 0 0 0 0 0 0 0 0 0 0 0 OBSTACLE4 5 0 0 0 0 0 0 OBSTACLE1 8 0 0 0 0 0 0 OBSTACLE5 11 0 0 0 0 0 0 OBSTACLE2 15 0 0 0 0 0 0 OBSTACLE6 19 0 0 0 0 0 0 OBSTACLE7 25 0 0 0 0 0 0 OBSTACLE3 $-----------------------------------------------------END_DATA_POINTS [OBSTACLE1] ROAD_TYPE = 'PotHole' COORDINATE_SYSTEM = 'distance' START = 0 LENGTH = 2 DEPTH = -0.5 $-----------------------------------------------------END_OBSTACLE1 [OBSTACLE3] ROAD_TYPE = 'Plank' START = 0 HEIGHT = 0.1 LENGTH = 3 BEVEL_EDGE_LENGTH = 0.01 $-----------------------------------------------------END_OBSTACLE3 [OBSTACLE4] ROAD_TYPE = 'Ramp' START = 0 LENGTH_RAMP = 1 LENGTH_TOTAL = 3 SLOPE = 30 $-----------------------------------------------------END_OBSTACLE4 [OBSTACLE5] ROAD_TYPE = 'Roof' START = 0 HEIGHT = 0.25 LENGTH = 2 $-----------------------------------------------------END_OBSTACLE5 [OBSTACLE6] ROAD_TYPE = 'Sine' START = 0 AMPLITUDE = 0.1 WAVE_LENGTH = 0.0125 LENGTH = 2.5 $-----------------------------------------------------END_OBSTACLE6 [OBSTACLE7] ROAD_TYPE = 'Sweep' START = 0 AMPLITUDE_AT_START = 0.2 AMPLITUDE_AT_END = 0.01 WAVE_LENGTH_AT_START = 0.02 WAVE_LENGTH_AT_END = 0.01 LENGTH = 5 sweep_type = 0 $-----------------------------------------------------END_OBSTACLE7<br /><br /><br /> <br /><br />Best,<br />Christopher Fadanelli
Hello Brian, Please refer to the online help for detailed information about creating road files. https://help.altair.com/hwdesktop/hwx/topics/chapter_heads/road_modeling_r.htm For many obstacles, there are options to choose from for 3d spline road that can be added. https://help.altair.com/hwdesktop/hwx/topics/motionview/road_tools_roads_sample_files_r.htm There should also be example road files in your installation directory. Example : "C:\Program Files\Altair\2023.1\hwdesktop\hw\mdl\autoentities\properties\Tires\ALTAIR_ROADS" Is the csv file for the road centerline (can specify that in the driver event)? XZ data for a polyline (place values in an .rdf file, see example polyline files in installation directory) ? rdf Example: $---------------------------------------------------------------UNITS [UNITS] LENGTH = 'meter' FORCE = 'newton' ANGLE = 'degrees' MASS = 'kg' TIME = 'sec' $----------------------------------------------------------DEFINITION [MODEL] PROPERTY_FILE_FORMAT = 'USER' FUNCTION_NAME = 'mbdtire.dll::ROAD_ALTAIR' METHOD = '3D_SPLINE' $-----------------------------------------------------ROAD_PARAMETERS [GLOBAL_PARAMETERS] CLOSED_ROAD = 'NO' SEARCH_ALGORITHM = 'FAST' ROAD_VERTICAL = '0.0 0.0 1.0' FORWARD_DIR = 'NORMAL' MU_LEFT = 1.2 MU_RIGHT = 1.2 WIDTH = 12.000 $---------------------------------------------------------DATA_POINTS [DATA_POINTS] { X Y Z WIDTH BANK MU_LEFT MU_RIGHT OBSTACLES } -1 0 0 0 0 0 0 0 0 0 0 0 OBSTACLE4 5 0 0 0 0 0 0 OBSTACLE1 8 0 0 0 0 0 0 OBSTACLE5 11 0 0 0 0 0 0 OBSTACLE2 15 0 0 0 0 0 0 OBSTACLE6 19 0 0 0 0 0 0 OBSTACLE7 25 0 0 0 0 0 0 OBSTACLE3 $-----------------------------------------------------END_DATA_POINTS [OBSTACLE1] ROAD_TYPE = 'PotHole' COORDINATE_SYSTEM = 'distance' START = 0 LENGTH = 2 DEPTH = -0.5 $-----------------------------------------------------END_OBSTACLE1 [OBSTACLE3] ROAD_TYPE = 'Plank' START = 0 HEIGHT = 0.1 LENGTH = 3 BEVEL_EDGE_LENGTH = 0.01 $-----------------------------------------------------END_OBSTACLE3 [OBSTACLE4] ROAD_TYPE = 'Ramp' START = 0 LENGTH_RAMP = 1 LENGTH_TOTAL = 3 SLOPE = 30 $-----------------------------------------------------END_OBSTACLE4 [OBSTACLE5] ROAD_TYPE = 'Roof' START = 0 HEIGHT = 0.25 LENGTH = 2 $-----------------------------------------------------END_OBSTACLE5 [OBSTACLE6] ROAD_TYPE = 'Sine' START = 0 AMPLITUDE = 0.1 WAVE_LENGTH = 0.0125 LENGTH = 2.5 $-----------------------------------------------------END_OBSTACLE6 [OBSTACLE7] ROAD_TYPE = 'Sweep' START = 0 AMPLITUDE_AT_START = 0.2 AMPLITUDE_AT_END = 0.01 WAVE_LENGTH_AT_START = 0.02 WAVE_LENGTH_AT_END = 0.01 LENGTH = 5 sweep_type = 0 $-----------------------------------------------------END_OBSTACLE7<br /><br /><br /> <br /><br />Best,<br />Christopher Fadanelli
Hi @Christopher Fadanelli,
Thanks for your help.
What about creating CRG? Because with polyline we have 2 tracks (left, and right).
I want to create a road as in the image below:
Hi @Christopher Fadanelli, Thanks for your help. What about creating CRG? Because with polyline we have 2 tracks (left, and right). I want to create a road as in the image below:
Hi Brain,
For polyline, you could have the left and right values be the same.
Please refer to this help link in creating crg road files. It will list what you will need to define the road. https://2023.help.altair.com/2023/hwdesktop/hwx/topics/motionview/road_tools_roads_crg_r.htm
In addition, here is the OpenCRG that can be used. https://www.asam.net/standards/detail/opencrg/
Best,
Christopher Fadanelli
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…