April 9, 2020 at 7:21 amMichael104Subscriber
i have a symmetric body, but the loads are not symmetric. See below is a quick dirty sketch. The Body consists of 3 elements. Each of them has a heat source on the middle right side (red layer). To reduce computational time i just want to simulate the middle body, body 2 which has one heat source and two outer walls, green and blue. To get correct results, i have to copy the calculated temperature distrubution after the first iteration of the right wall (green) to the blue wall. The Wall temperature has to update every iteration.
I tried to export and import profile file of the wall temperature, but i couldn´t find a way to export the profile every iteration, to do this manually over 1000 iterations would solve my problem, but is a lot of work. Maby the is a way to use symmetry, but i read in the manual it is only possible for symmetric loads, which isn´t in my case.
Has anyone an idea to solve the problem.
April 9, 2020 at 7:23 am
April 9, 2020 at 3:02 pmRobAnsys Employee
If the models are separate you could use a script to write out the profile every few time steps and in the second model read the profile, alter the position set the temperature. Not easy but could be done.
April 9, 2020 at 3:51 pmMichael104Subscriber
Thanks for your answere.
There is just one model, in this model i have to transfer the boundary temperature profile. Could you give a some more information how to write such a script and where to implement.
April 9, 2020 at 3:58 pm
April 20, 2020 at 7:10 amMichael104Subscriber
Nobody any ideas ?
April 20, 2020 at 9:44 amDrAmineAnsys Employee
if it is the same model you should be able to write an array with the data and use that array to assign the data to the boundary. Another way could be via writing/reading files (prone to sync issues and not really ideal I/o...)
April 22, 2020 at 7:19 amMichael104Subscriber
Thanks for your answer abenhadj,
OK, if i write an array with temperature data, how would you imprint these data on the boundary wall, just with the use of define profile? or is there an other way?
April 22, 2020 at 9:26 amDrAmineAnsys Employee
Yes with a DEFINE Profile. You require then a sort of interpolation to get the right values corresponding to x,y,z.
April 28, 2020 at 1:03 pmMichael104Subscriber
so now i wrote a udf (I/o function) to export a file with the temperature profile of the wall i was looking for. Could you or someone give me some advice how to implement these columns of the data file to the define boundary condition in the udf.
I have columns for x, y, z, coordinates and a column for temperature of the wall. It is the same format like if i would export a profile via "file -> export -> profile" in fuent. Is there a way to directly implement this data file as a boundary profile in the udf, something like
"define_profile (take exported file)"??
Best regards Michael
April 28, 2020 at 4:02 pmDrAmineAnsys Employee
The profile format required by Fluent is explained in the user's guide. If the walls are parallel to each other I guess you can just swap one coordinate direction (if feasible). Example Old Wall X, Y, Z New Wall X, Y, Z+delta_Z. You can modify the profile and apply directly.
April 29, 2020 at 12:08 pmMichael104Subscriber
but is there a way to directly apply the profile file to the boundary with a udf. I don´t mean (File -> import -> profile from the fluent headline). Please correct me if i am wrong. In the user guide there are a lot of examples how to define a profile with a function depend on one coordinate, but how to implement this profile file directly to the boundary? I think this would be the only way to update the profile every iteration.
Best regards Michael
April 30, 2020 at 5:11 amDrAmineAnsys Employeeyes possible you need to read the file via and apply the profile. All can be done in UDF. An execute on Loading to read the profile and do some pre processing of the data, a function to define the interpolation law and the define profile to set the profile
- 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.
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2022 Copyright ANSYS, Inc. All rights reserved.