August 2, 2022 at 2:22 pmVictorVSubscriber
I would like to simulate a thermoelastic problem on Ansys workbench. I have externally determined temperatures that I want to input as boundary conditions in a steady state thermal simulation. For each time step, I have several temperatures to input for the thermal simulations, so for each timestep I can copy the temperature in the tabular environment, like in the picture.
However this is just one of my many boundary conditions, and I have many cases of different temperature fields to run, so I would need to copy and paste a lot of columns. This is a screenshot of the temperature boundary conditions I have to set.
My temperature boundary conditions are stored in a CSV file. Instead of copying and pasting the columns for the temperature as a function of time, I wanted to have each temperature associated with a column in that CSV file. For example the time is equal to the values in the first column, FF1 equal to the values in the second column, FF2 equal to the values in the third column etcetera. So if I change the CSV, I can have the simulation quickly run with the new values.
I tried using the External Data block in workbench and it seems to correctly import the data from the CSV:
And I could link it to the model.
However, I cannot use this external data as input for the temperature boundary conditions because the imported temperature cannot be applied because Direct Assignment weighting is not supported.
This is as far as I've got in this problem, there seems to be no possibility of assigning each column of the CSV to the temperature of each geometry object.
Does anyone know a quicker way than copying and pasting the temperatures on each case on each boundary condition?
Thanks for the help.
August 4, 2022 at 12:50 pmAniketAnsys Employee
External data can be used to map temperatures on nodes, so along with the temperatures, you should have node locations on which these temperatures are applied as well. Looking at the third image, that does not seem to be the case. What you can do is create a separate text file for each time step, which will contain all the nodes for all boundary conditions and then scope the files to each time step using data view.
Alternatively you can also automate this process via python using ACT, something on the lines of:
September 8, 2022 at 4:18 pma.acheampongSubscriber
I have performed a similar analysis before where I used 182 csv files (i.e 182 seconds) to map onto my Static analysis simulation.
The mesh and the geometry must be in the same x,y,z coordinate system.
I used the external data as below
This is how csv time 155s looks like. You do the same for all files
Now back to the mechanical environment the analysis settings for both thermal and the static structural should be set to 182 steps
The imported data looks like this;
Use the same method for the static structural and make sure the time step is set to the same as thermal
You should get something similar to this
Hope this helps
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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.
- How to calculate the residual stress on a coating by Vickers indentation?
- Solver Pivot Warning in Beam Element Model
- An Unknown error occurred during solution. Check the Solver Output…..
- Errors – Reinforced Concrete Beam
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- Massive amount of memory (RAM) required for solve
- Cannot apply load on node
- Saving & sharing of Working project files in .wbpz format
- Colors and Mesh Display