How to automatically change the parameter settings in the fensapice through commands or in workbench
January 25, 2022 at 9:23 amSusanSubscriber
I am new in Ansys. I want to do de-icing optimization by FENSAP-ICE. Is it possible to change the settings of heaters' power density and de-icing cycles or heating sequences by external codes or functions? Of course, if this could be set in the workbench, that would be very nice. Thank you very much.February 22, 2022 at 6:56 pmIsikAnsys EmployeeHi Susan We don't have an officially supported way of customizing the de-icing heater cycles with external commands, but, it is not impossible. You can try the following at your own risk if you wish.
The cycles for heaters in C3D are saved in run_CHT3D/CHT_Compute/SOLID/bc.txt file. You could modify this file to change the de-icing cycles. The format of the file needs to be respected exactly. You can practice this on a simple case first, make sure everything works as expected, then carry on with your actual runs.
CHT_Compute directories are created after you click the Run button. To change the bc.txt file, you have to start the run in "null" queue which prepares everything but does not launch the execution script.
To have many runs of the same kind with varying bc.txt files, you can first create a dummy run to use as a template with the null queue method. Inside that run's CHT_Compute directory there is a file called .solvercmd. This is the main execution script for a FENSAP-ICE run. You need to delete the first line in that file which changes the directory to the current run's location. Once this run is created, you can go two levels up and make copies of the template run and change the bc.txt file for each. You will then have to manually start the execution scripts (.solvercmd) for each of these runs. You can either write a shell script to go into each directory and run the file, or setup a scheduler config file for your HPC machine and individually submit them to a queue.
In general we don't recommend changing the run files outside of the UI. There is no guarantee that cases prepared this way will work as expected. Technical support will be also limited for questions regarding such customization.
Best Regards Isik
February 28, 2022 at 3:25 amSusanSubscriberDear Isik Thank you so much for the detailed information. That's very good advice and I will try that in my case to see any possible.
At the same time, I am trying to optimise via workbench but I don't know how to define and set user-defined output parameters in fensap-ice module, so that I could do parametric optimization.
Do you have any ideas?
Best wishes Susan
Viewing 2 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.