All Activity
This stream auto-updates
- Last week
-
The console window character encoding does not support UTF-8
Carl Benz replied to Sody's topic in Ideas and Suggestions
Hi Sody, nice to see, that you are trying advanced feature programming. Your approach is quite nice and working fine. As you wrote correctly the problem is about special characters. CAESES supports utf-8, but executing a .bat script without specific code page will not output utf-8 characters by default. You can change the code page for batch scripts in windows by adding "chcp 65001" to the script. (see https://ss64.com/nt/chcp.html) btw.: The CAESES Console is primarily for debugging CAESES code (FPL). Its behaviour might differ to knowni terminals. This is mainly the reason, why 'timeout /t...' throws an error. Regards Carl - Earlier
-
Follow up to the post. I tested v3 of the workbench app in a project where I successfully exported turbogrid files with v2 of the app, and here are the log files from it. Extensions Log File 1/26/2026 1:29:15 PM Initialize ExtensionManager List of running applications: - Project The CAESES extension saved in this project will be upgraded from version 2.0 to 3.0. If you save the project, the change will be permanent. You can avoid it by closing the project, installing the older version, and reopening the project. Starting Python script engine version 2.7.0.40 for extension CAESES. Extension CAESES loaded for context Project. Starting Python script engine version 2.7.0.40 for extension EnSight Forte. Extension EnSight Forte loaded for context Project. EnSight ext: Initializing EnSight extension... EnSight ext: cei_home='C:\Program Files\ANSYS Inc\v252\CEI' Starting Python script engine version 2.7.0.40 for extension optiSLang 25.2.2. Extension optiSLang 25.2.2 loaded for context Project. OSL_VERBOSE: 0 optiSLang - INFO - Initialize optiSLang Extension Version 25.2.0 optiSLang - INFO - Initialize optiSLang Extension Done CALLING createParameterSet(task) Error when invoking function 'createParameterSet'. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\parameters.py", line 5, in createParameterSet StandardError: Exception has been thrown by the target of an invocation. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\parameters.py", line 5, in createParameterSet AttributeError: 'NoneType' object has no attribute 'Value' CALLING setFileFromGUI_TG(task) valid file = D:\Raj_Projects\Sample700Blower_CAESES\GEOMETRY\Blower_700cfm\2025_08_05_700cfmScript.fsc CALLING onbeforetaskupdate(task) CALLING getProcessName(task) getProcessName id_tg_task2 1 getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName(task) onbeforetaskupdate id_tg_task2 1 CALLING get_system(task) CALLING getProcessName(task) getProcessName id_tg_task2 1 getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName(task) end of get_system(task) end of onbeforetaskupdate(task) CALLING update_TG(task) CALLING onbeforetaskupdate_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName_TG(task) onbeforetaskcreation id_tg_task2 1 end of onbeforetaskupdate_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName_TG(task) CALLING get_system_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName_TG(task) CALLING updateUnits_TG(task) end of updateUnits_TG(task) CALLING createWorkFlow(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName_TG(task) CALLING get_system_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName_TG(task) counterTG = 0 counter = 2 finished creating workflow end of createWorkFlow(task) CALLING sync_TG_parameters_from_lines CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|01_angleDistributionHub|angle1 = -14.82 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle1 = 67.003 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle2 = 64 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle3 = 62.3786 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle2 = 46 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th4 = 1 CALLING create_parameter_object(task) Added TG parameter 00_Functions|rotor_stator_distance = 20 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|03_edgeDefinition1|ellipseFactor2 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaInt2 = 0 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|03_edgeDefinition1|ellipseFactor1 = 2.5 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaInt1 = 0 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaShroud = 0 CALLING create_parameter_object(task) Added TG parameter 00_Functions|stator_functions|NOB_stator = 11 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th4 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th1 = 1.25 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaInt1 = 0 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th1 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th1 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th3 = 2.25 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th2 = 2.5 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th4 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaInt2 = 0 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|MeridionalContours|05_trailingEdge|dist1 = 2.5 CALLING create_parameter_object(task) Added TG parameter 00_Functions|rotor_functions|rBladeLenShroud = 14 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th3 = 1.25 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|MeridionalContours|05_trailingEdge|dist2 = 2.5 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|02_angleDistributionShroud|angle2 = -12 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|02_angleDistributionShroud|angle1 = -23.99 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|03_angleDistribution_050|angle1 = -19.7342 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|03_angleDistribution_050|angle2 = -10 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th2 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th4 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th2 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th3 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th1 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle3 = 42.4096 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|03_edgeDefinition1|ellipseFactor1 = 2 CALLING create_parameter_object(task) Added TG parameter 00_Functions|rotor_functions|NOB_rotor = 7 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|03_edgeDefinition1|ellipseFactor2 = 2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th2 = 1.5 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|01_camber|01_angleDistributionHub|angle2 = -7 CALLING create_parameter_object(task) Added TG parameter 00_Functions|rotor_functions|rBladeLenHub = 12 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle1 = 49.6745 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle2 = 58.2 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle3 = 54.6247 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle1 = 60.4952 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaShroud = 0 CALLING create_parameter_object(task) Added TG parameter 01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th3 = 2 end of sync_TG_parameters_from_lines CALLING get_system(task) CALLING getProcessName(task) getProcessName id_tg_task2 1 getProcessName task.Name at getProcessName= id_tg_task2 1 Geom_comp_name at getProcessName= id_tg_task2 1 end of getProcessName(task) end of get_system(task) os_ver: Win64 ProjectPath....D:\Raj_Projects\4225-0xxxxx_Sample700Blower_CAESES\GEOMETRY Error copying CAESES project: [Errno 2] Could not find a part of the path 'D:\Raj_Projects\4225-0xxxxx_Sample700Blower_CAESES\GEOMETRY\Blower_700cfm.cdb'.: D:\Raj_Projects\4225-0xxxxx_Sample700Blower_CAESES\GEOMETRY\Blower_700cfm.cdb No replacement for TG param '|00_Functions|rotor_functions|NOB_rotor' No replacement for TG param '|00_Functions|rotor_functions|rBladeLenHub' No replacement for TG param '|00_Functions|rotor_functions|rBladeLenShroud' No replacement for TG param '|00_Functions|rotor_stator_distance' No replacement for TG param '|00_Functions|stator_functions|NOB_stator' No replacement for TG param '|01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaInt1' No replacement for TG param '|01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaInt2' No replacement for TG param '|01_Turbo|700cfm|rotor|MeridionalContours|04_leadingEdge|thetaShroud' No replacement for TG param '|01_Turbo|700cfm|rotor|MeridionalContours|05_trailingEdge|dist1' No replacement for TG param '|01_Turbo|700cfm|rotor|MeridionalContours|05_trailingEdge|dist2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|01_angleDistributionHub|angle3' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|02_angleDistributionShroud|angle3' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|01_camber|04_angleDistribution_050|angle3' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th3' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th4' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th2' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th3' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th4' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|03_edgeDefinition1|ellipseFactor1' No replacement for TG param '|01_Turbo|700cfm|rotor|rotor_blade|03_edgeDefinition1|ellipseFactor2' No replacement for TG param '|01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaInt1' No replacement for TG param '|01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaInt2' No replacement for TG param '|01_Turbo|700cfm|stator|MeridionalContours|01_leadingEdge|thetaShroud' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|01_angleDistributionHub|angle1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|01_angleDistributionHub|angle2' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|02_angleDistributionShroud|angle1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|02_angleDistributionShroud|angle2' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|03_angleDistribution_050|angle1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|01_camber|03_angleDistribution_050|angle2' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th2' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th3' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|01_thicknessDistributionHub|th4' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th2' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th3' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|02_thicknessDefinition1|02_thicknessDistributionShroud|th4' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|03_edgeDefinition1|ellipseFactor1' No replacement for TG param '|01_Turbo|700cfm|stator|stator_blade|03_edgeDefinition1|ellipseFactor2' Error when invoking function 'update_TG'. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\turbo.py", line 276, in update_TG StandardError: Exception has been thrown by the target of an invocation. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\turbo.py", line 276, in update_TG Exception: Expected CAESES output at D:\Raj_Projects\Sample700Blower_CAESES\WORKBENCH\Blower700Sample_files\dp0\C_TG_GEO-1\ACT\Blower_700cfm\manual_results\baseline\input I hope this is helpful.
- 7 replies
-
- turbogrid
- turbomachinery
-
(and 1 more)
Tagged with:
-
Raj Dave started following TurboGrid export erroring out in Workbench
-
Hi All, Following up on this topic, I am encountering similar issue as @Praveen mentioned and the workaround doesn't seem to be working. Extensions Log File 1/26/2026 12:45:39 PM CALLING onbeforetaskupdate(task) CALLING getProcessName(task) getProcessName id_tg_task2 getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName(task) onbeforetaskupdate id_tg_task2 CALLING get_system(task) CALLING getProcessName(task) getProcessName id_tg_task2 getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName(task) end of get_system(task) end of onbeforetaskupdate(task) CALLING update_TG(task) CALLING onbeforetaskupdate_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName_TG(task) onbeforetaskcreation id_tg_task2 end of onbeforetaskupdate_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName_TG(task) CALLING get_system_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName_TG(task) CALLING updateUnits_TG(task) end of updateUnits_TG(task) CALLING createWorkFlow(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName_TG(task) CALLING get_system_TG(task) CALLING getProcessName_TG(task) getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName_TG(task) counterTG = 0 counter = 1 finished creating workflow end of createWorkFlow(task) CALLING sync_TG_parameters_from_lines CALLING create_parameter_object(task) Added TG parameter 00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioHub = 0.3 CALLING create_parameter_object(task) Added TG parameter 00_Functions|03_chordDistSpanwise|02_RangeBased|chordHub = 8 CALLING create_parameter_object(task) Added TG parameter 00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerMid = 57.93 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posHub = 0.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|06_statorDist|01_CamberAngleDist|camber80pc = 4.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|03_chordDistSpanwise|02_RangeBased|chordShroud = 16 CALLING create_parameter_object(task) Added TG parameter 00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioShroud = 0.3 CALLING create_parameter_object(task) Added TG parameter 00_Functions|03_chordDistSpanwise|02_RangeBased|chord20pc = 10 CALLING create_parameter_object(task) Added TG parameter 00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerHub = 48.6 CALLING create_parameter_object(task) Added TG parameter 00_Functions|06_statorDist|01_CamberAngleDist|camberHub = 12 CALLING create_parameter_object(task) Added TG parameter 00_Functions|02_staggerDistSpanwise|02_RangeBased|stagger80pc = 64.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|03_chordDistSpanwise|02_RangeBased|chord80pc = 14 CALLING create_parameter_object(task) Added TG parameter 00_Functions|06_statorDist|01_CamberAngleDist|camberMid = 9.4 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posInt1_z = 0.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessMid = 0.06 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posInt2_z = -0.15 CALLING create_parameter_object(task) Added TG parameter 00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessHub = 0.1 CALLING create_parameter_object(task) Added TG parameter 00_Functions|05_thicknessDistSpanwise|01_RangeBased|thickness80pc = 0.04 CALLING create_parameter_object(task) Added TG parameter 00_Functions|01_camberDistSpanwise|02_RangeBased|camber20pc = 11.7 CALLING create_parameter_object(task) Added TG parameter 00_Functions|02_staggerDistSpanwise|02_RangeBased|stagger20pc = 51.8 CALLING create_parameter_object(task) Added TG parameter 00_Functions|05_thicknessDistSpanwise|01_RangeBased|thickness20pc = 0.08 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posShroud = 0.1 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaInt2 = 4 CALLING create_parameter_object(task) Added TG parameter 00_Functions|06_statorDist|01_CamberAngleDist|camber20pc = 11.7 CALLING create_parameter_object(task) Added TG parameter 00_Functions|NOB = 17 CALLING create_parameter_object(task) Added TG parameter 00_Functions|01_camberDistSpanwise|02_RangeBased|camberMid = 9.4 CALLING create_parameter_object(task) Added TG parameter 00_Functions|01_camberDistSpanwise|02_RangeBased|camberShroud = 1.67 CALLING create_parameter_object(task) Added TG parameter 00_Functions|01_camberDistSpanwise|02_RangeBased|camberHub = 12 CALLING create_parameter_object(task) Added TG parameter 00_Functions|06_statorDist|01_CamberAngleDist|camberShroud = 1.67 CALLING create_parameter_object(task) Added TG parameter 00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerShroud = 67.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioMid = 0.5 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaInt1 = 2 CALLING create_parameter_object(task) Added TG parameter 00_Functions|04_RatioDistSpanwise|02_RangeBased|ratio20pc = 0.4 CALLING create_parameter_object(task) Added TG parameter 00_Functions|01_camberDistSpanwise|02_RangeBased|camber80pc = 4.25 CALLING create_parameter_object(task) Added TG parameter 00_Functions|03_chordDistSpanwise|02_RangeBased|chordMid = 12 CALLING create_parameter_object(task) Added TG parameter 02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaShroud = -15 CALLING create_parameter_object(task) Added TG parameter 00_Functions|04_RatioDistSpanwise|02_RangeBased|ratio80pc = 0.4 CALLING create_parameter_object(task) Added TG parameter 00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessShroud = 0.03 end of sync_TG_parameters_from_lines CALLING get_system(task) CALLING getProcessName(task) getProcessName id_tg_task2 getProcessName task.Name at getProcessName= id_tg_task2 Geom_comp_name at getProcessName= id_tg_task2 end of getProcessName(task) end of get_system(task) os_ver: Win64 ProjectPath....D:\Raj_Projects\4225-001183_RY40HPLB04_Blower_700CFM\BLADE DESIGN Copied CAESES project D:\Raj_Projects\4225-001183_RY40HPLB04_Blower_700CFM\BLADE DESIGN\700BlowerBlade.cdb to D:\Raj_Projects\4225-001183_RY40HPLB04_Blower_700CFM\WORKBENCH\Blower700cfm_files\dp0\C_TG_GEO\ACT\700BlowerBlade.cdb No replacement for TG param '|00_Functions|01_camberDistSpanwise|02_RangeBased|camber20pc' No replacement for TG param '|00_Functions|01_camberDistSpanwise|02_RangeBased|camber80pc' No replacement for TG param '|00_Functions|01_camberDistSpanwise|02_RangeBased|camberHub' No replacement for TG param '|00_Functions|01_camberDistSpanwise|02_RangeBased|camberMid' No replacement for TG param '|00_Functions|01_camberDistSpanwise|02_RangeBased|camberShroud' No replacement for TG param '|00_Functions|02_staggerDistSpanwise|02_RangeBased|stagger20pc' No replacement for TG param '|00_Functions|02_staggerDistSpanwise|02_RangeBased|stagger80pc' No replacement for TG param '|00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerHub' No replacement for TG param '|00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerMid' No replacement for TG param '|00_Functions|02_staggerDistSpanwise|02_RangeBased|staggerShroud' No replacement for TG param '|00_Functions|03_chordDistSpanwise|02_RangeBased|chord20pc' No replacement for TG param '|00_Functions|03_chordDistSpanwise|02_RangeBased|chord80pc' No replacement for TG param '|00_Functions|03_chordDistSpanwise|02_RangeBased|chordHub' No replacement for TG param '|00_Functions|03_chordDistSpanwise|02_RangeBased|chordMid' No replacement for TG param '|00_Functions|03_chordDistSpanwise|02_RangeBased|chordShroud' No replacement for TG param '|00_Functions|04_RatioDistSpanwise|02_RangeBased|ratio20pc' No replacement for TG param '|00_Functions|04_RatioDistSpanwise|02_RangeBased|ratio80pc' No replacement for TG param '|00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioHub' No replacement for TG param '|00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioMid' No replacement for TG param '|00_Functions|04_RatioDistSpanwise|02_RangeBased|ratioShroud' No replacement for TG param '|00_Functions|05_thicknessDistSpanwise|01_RangeBased|thickness20pc' No replacement for TG param '|00_Functions|05_thicknessDistSpanwise|01_RangeBased|thickness80pc' No replacement for TG param '|00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessHub' No replacement for TG param '|00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessMid' No replacement for TG param '|00_Functions|05_thicknessDistSpanwise|01_RangeBased|thicknessShroud' No replacement for TG param '|00_Functions|06_statorDist|01_CamberAngleDist|camber20pc' No replacement for TG param '|00_Functions|06_statorDist|01_CamberAngleDist|camber80pc' No replacement for TG param '|00_Functions|06_statorDist|01_CamberAngleDist|camberHub' No replacement for TG param '|00_Functions|06_statorDist|01_CamberAngleDist|camberMid' No replacement for TG param '|00_Functions|06_statorDist|01_CamberAngleDist|camberShroud' No replacement for TG param '|00_Functions|NOB' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posHub' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posInt1_z' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posInt2_z' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|posShroud' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaInt1' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaInt2' No replacement for TG param '|02_BladeDesign|AxialFan|BladedComponent1|MeridionalContours|04_leadingEdge|thetaShroud' Error when invoking function 'update_TG'. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\turbo.py", line 276, in update_TG StandardError: Exception has been thrown by the target of an invocation. Traceback (most recent call last): File "C:\Users\raj.dave\AppData\Roaming\Ansys\v252\ACT\extensions\CAESES_Workbench_App\turbo.py", line 276, in update_TG Exception: Expected CAESES output at D:\Raj_Projects\4225-001183_RY40HPLB04_Blower_700CFM\WORKBENCH\Blower700cfm_files\dp0\C_TG_GEO\ACT\700BlowerBlade\manual_results\baseline\input WebPage: file:///C:\Program Files\ANSYS Inc\v252\Addins\ACT\html\gridpanel.html?ACTPort=49367&ACTSocketName=Log I am using CAESES 5.3.8 and v3 of CAESES_Workbench_App Please suggest a workaround for this issue.
- 7 replies
-
- turbogrid
- turbomachinery
-
(and 1 more)
Tagged with:
-
Hi, I am using Chinese Windows OS, and try to use function process (FProcess) to execute external script. It seems FProcess runs OK, but the Console does not show the error message correctly. It looks like: *** INFO Process : started ... [D:\\test.bat] hello world ����: ��֧���������¶����������˳��˽��̡� *** INFO Process : finished [exit code 0] The codes in feature definition are quite simple. They are string exe("D:\\test.bat") process mytool(exe) mytool.run() And the test.bat is also very simple. It is @echo off echo hello world timeout /t 10 /nobreak >nul The error message shows when the timeout line is executed, which shows like a list of question marks. I guess it is because the Console window does not support utf-8 characters. It would be much easier for me to debug the codes if the Console window could show correct message. By the way, instead of Software Connector, the reason I use FProcess to get info from external program is that the amount and positions of datas in the input.txt are not fixed. I have tried to use runProcessBlocking to execute the external script, but there is very limited infomation about this function from the documentation. I don't know if there is any example in the tutorials. If you could give some simple examples about runProcessBlocking, it would be very helpful. Thanks.
-
Mr. chris baki started following GRD Output
-
How can i output a .grd file from a brep of a hull having a structrured grid of MxN nodes? If i create sections along the hull and export as a .shf file i get the M nodes but N nodes vary (despite setting up a standard resolution). Thanx
-
This is really helpful. I didn't know it was that easy to export. Thank You Claus.
-
There is also an alternative way to calculate this: create a Brep from planar curves and then ask the Brep for its inertias. Please find a project with such a sample attached. Best Regards, Andreas MOments2.cdb
-
Andreas Arapakopoulos started following Section modulus
-
Hi Daniel, There is no direct command to calculate the section modulus of a closed curve. I created an example using a NACA 4-digit airfoil and a feature that calculates the area of the closed curve, the height of the neutral axis, the moment of inertia and the section modulus. Additionally, I modified the airfoil to have a sharp trailing edge in order to close the geometry, since the default option leaves a small gap at the trailing edge. This work is based on notes from MIT, which can be found here. https://ocw.mit.edu/courses/16-01-unified-engineering-i-ii-iii-iv-fall-2005-spring-2006/21cb09c67195d8b306de55214c2b2f87_spl10b.pdf The coordinate system used is XZ, consistent with the notes. Best Regards, Andreas section_modulus.cdb
-
Mr. Claus Abt started following Exporting Curve/Line as CSV?
-
exportCurvesPointsTocvs.cdbHi Ray, here is an example.
-
Hi, Is there a command/feature to calculate the section modulus of a closed curve, in my case a wing profile? Best regards, Daniel
-
Raj Dave started following Exporting Curve/Line as CSV?
-
Dear Community, I am interested in exporting line/curve data as points in a csv format. To provide context, these are curves generated after using Turbo Blade Analysis or Turbo Section Analysis features. Is this possible in CAESES 5.3.8? Thank You!
-
enforce fixed step sizes in SBGO sampling
ahorsky replied to ahorsky's topic in Variation & Optimization
thank you , is it posible to change the values in the setup of the global optimization on response surface? for example i want to cange crossover_rate and mutation_rate -
enforce fixed step sizes in SBGO sampling
Mr. Heinrich von Zadow replied to ahorsky's topic in Variation & Optimization
Hi there, What do you mean by "seems to ignore it"? If the Design Variables as set to be integers, they should not be set to floating point numbers by the Design Engine. The problematic part will be the handling of such discrete values since SBGO relies on accurate capturing of the entire design space. Perhaps the most effective way could be: 1. Run the DoE and first SBGO with continuous Design Variables 2. Run another SBGO while keeping some Design Variables (those that you need to be at fixed step sizes) fixed --> round them from the optimum of the previous simulation. If you are uncertain if you should go one step up or down (the current best value might sit right in between two steps), or you are unsure of the correlation wrt the objective function: Check the charts and correlations from the initial DoE. If in doubt, just run step 2 multiple times with different fixed values. Typically, with enough initial samples in the result pool, it should take only a few iterations to converge each individual SBGO. I hope this gives you a solid approach to solving your problem. Cheers, Heinrich -
enforce fixed step sizes in SBGO sampling
ahorsky replied to ahorsky's topic in Variation & Optimization
Yes, post-processing doesn't really help in my case because I'm trying to reduce the SBGO workload while also improving design space coverage. Having a ship LOA of 42.15766 or 42.04474 meters is not realistic in practice. I tried setting the design variable as an integer, but the optimizer seems to ignore it. Rounding the values afterward doesn’t really solve the issue either, since the surrogate model is still trained on the full-precision values. -
Mr. Claus Abt started following enforce fixed step sizes in SBGO sampling
-
enforce fixed step sizes in SBGO sampling
Mr. Claus Abt replied to ahorsky's topic in Variation & Optimization
Hi, I don't think the SBGO will take integer design variables. An option would be to post-process the designvariable used as a factor or the stepsize to an integer, see example attached. testStepsInSBGO.cdb -
Mr. Heinrich von Zadow started following enforce fixed step sizes in SBGO sampling
-
enforce fixed step sizes in SBGO sampling
Mr. Heinrich von Zadow replied to ahorsky's topic in Variation & Optimization
Hi there, technically, this can be done in (at least) two ways. 1. You can choose your Design Variable to be an integer and then set up your model such, that it uses a multiple of that integer value times the given step size. 2. Instead of using the default sampling of the SBGO, which is a Latin Hypercube Sampling, you could use a Design Assembler. This is a Design Engine that allows to manually specify the designs to be evaluated. However, I would be very careful with both of these options. Not every optimizer properly handles a mix of discrete and continuous variables and also the training/accuracy of surrogate models might be affected if the training data is not distributed nicely (LHS, Sobol or similar). Cheers, Heinrich -
I'm running a Surrogate-Based Global Optimization (SBGO) and I would like to ensure that certain design variables are only sampled at fixed step sizes, such as: LOA sampled every 0.5 meters L/B and B/T ratios sampled every 0.25 Deadrise and rake angles sampled every 1 degree What is the proper way to make sure that SBGO only samples design variables using fixed step sizes? Can this be enforced directly inside CAESES, through some feature or setting, or must it be handled entirely on the Dakota side? Any guidance or working examples would be highly appreciated! Thanks in advance!
-
Hi Stan, if you look at the 'bladeScaled' BRep in the scope 'bladeSolid', it is not fully intersecting the hub geometry for your parameter combination (especially for this chord length at the hub). But you can just extend the 'bladePrepared' in the scope 'blade' in vMin direction. You might also want to look at the tip surface. It is not causing any problems right now but the geometry folds in on itself. For example, reduce the max tip length. But you might have to look for a perfect setting for all designs. Cheers, Simon
-
Mr. Claus Abt started following Exporting IGES Files while running a LHS DoE and sceenshots in optimizations run
-
hey when take a screenshot during my run using the design pre/post processing, it add to the model normal vectors to surface, how do i remove the them ? thanks
-
Exporting IGES Files while running a LHS DoE
Mr. Claus Abt replied to ahorsky's topic in Variation & Optimization
If you set up the script to run your analysis such that it will not return before the result file is written, everything should be fine. You could stay in the script within a loop, checking for the creation of the output file. Best Regards, Claus -
Exporting IGES Files while running a LHS DoE
ahorsky replied to ahorsky's topic in Variation & Optimization
Hi Claus, Thank you for your response. I tried creating a COM interface with Maxsurf Motion similar to what’s available for Maxsurf Resistance. However, from what I understand, Maxsurf Motion does not currently support a COM interface. Could you confirm if that’s correct, or am I mistaken? At the moment, I’ve set up a software connection in CAESES with Python. This workflow exports the hull geometry as an IGES file, which I then use in Maxsurf Motion to run the seakeeping analysis (this step typically takes 5–10 minutes per design). Maxsurf Motion outputs the results to an Excel file, which Python uses to calculate the Seakeeping Index (SKI). Python then creates a CSV file containing the single SKI value, and CAESES reads this value back from the CSV. The issue I’m facing is that CAESES does not “wait” for Python to finish processing the Maxsurf results and calculating the SKI. As a result, it fills in the SKI objective with a NaN value. If I manually pause the run after each design is created, add the Maxsurf output to the design folder, and then resume, Python has enough time to compute the SKI and CAESES successfully reads the results. I also tried adding a time delay in Python to hold the calculation until the Maxsurf output is available, but CAESES seems to ignore this and continues running without waiting for the results. I hope my explanation so far is clear. I’m now looking for a way to: Delay CAESES from calling Python until I’ve added the Maxsurf output file. Or allow CAESES to generate x number of designs without calculating the SKI, and then calculate SKI for all of them in a batch process. Do you have any suggestions on how this could be implemented? As a workaround for LHS sampling, I can let the run complete and then add the Maxsurf outputs afterward. When I re-evaluate the designs in CAESES, it recognizes and incorporates the SKI correctly. However, I’m unsure if this approach would also work during SBGO, where iterative evaluations are required. I’ve attached my setup files for your reference. Best regards, simple_test.cdbc Single_SKI.py Single_SKI_timeout.py -
Exporting IGES Files while running a LHS DoE
Mr. Claus Abt replied to ahorsky's topic in Variation & Optimization
Hi Avishai, Simon is travelling this week. You could set up a feature that uses a COM interface to run Maxsurf. Then you could use the software connector to start your Python analysis. If you define an output of Maxsurf as an input to the software connector and take the output of the analysis as an objective, all objects should know of their respective suppliers and wait until they are available. Then you can simply run an optimization. Hope that helps Claus -
Exporting IGES Files while running a LHS DoE
ahorsky replied to ahorsky's topic in Variation & Optimization
Hi Simon, Thanks again for your earlier advice about using Design Pre/Postprocessing for geometry export — that worked well and I’ve now successfully exported the hull variants from CAESES and performed motion analysis in Maxsurf Motion. Here’s where I am now: ✅ I ran an LHS DoE in CAESES to generate an initial set of designs. ✅ I analyzed each design externally in Maxsurf to calculate motions and then computed a Seakeeping Index (SKI) in Python. ✅ I would now like to: Import these SKI results back into CAESES. Run an SBGO, where at each generation the optimization pauses: Exports the new hull geometry. Computes motions in Maxsurf externally. Calculates SKI in Python. Brings the SKI back into CAESES as an objective to minimize. I’m trying to set this up via the Software Connection feature, but I’m unsure of the recommended workflow for this external coupling: Can CAESES directly use a Python script to pull SKI values as a response during SBGO? Is there a way to make the optimization pause for external motion analysis and resume automatically? Should I use Postprocessing Commands in the design engine or a Custom Software Connector? I’d appreciate your guidance or any example workflows that show how to integrate external evaluations like this into the SBGO loop. Best regards, Avishai Horsky LHS, where every generation is stops i do the motion analysis and then it continues aftre the input of the SKI -
Exporting IGES Files while running a LHS DoE
Simon Hauschulz replied to ahorsky's topic in Variation & Optimization
Hi! There is a setting called "Design Pre/Postprocessing" for every design engine, e.g. LHS, SBGO, where you can define the export with <objectName>.exportIges(<filename>) for every design in your DoE. Cheers, Simon
