-
-
March 13, 2023 at 3:05 pm
Diogo Martinho
SubscriberHey all,
I have a question in regard to the different boundary conditions to apply. I have an electrical field, and basically I want to have a flux applied there but at the same time I wanted to have a certain potential on the wall. I thought that if I initialized the domain with a certain value it would work, but it didn't as the value later changes (makes sense).
What I am trying to do, it would be similar to having a wall at 300K and at the same time having a heat flux. So that wall would always be at 300K but the gradient would give the variation to the next node.
Best regards -
March 13, 2023 at 3:30 pm
Rob
Ansys EmployeeUsing the heat analogy as I don't understand the electrickery stuff: it's been about 30 years since I last studied it. Thanks for explaining!
The problem is you're trying to fix both the value and the rate: one MUST float to allow the other to be true. Otherwise you are fixing the outer value, then the wall adjacent cell value, but to avoid problems the next cell is also fixed etc. The whole domain is then purely a function of the outer temperature and set gradient. Not the result of anything else that may or may not be happening. It's a common misconception. We set a flux in an experiment (or temperature) and measure the other, we can't set both: simulation is much same but in a computer.
-
March 13, 2023 at 4:00 pm
Diogo Martinho
SubscriberSo basically to guarantee the right range of temperatures, one has to initialize the solution with temperature and then the flux will "adjust" the solution?
-
March 13, 2023 at 4:36 pm
Rob
Ansys EmployeeThe initial condition is just that, a starting point or time = zero for a transient run. The end result is then a function of time and flux (transient) or entirely the flux (steady).
-
March 14, 2023 at 10:51 am
Diogo Martinho
SubscriberWhen I read the answers I understand but then I am trying to model it the question comes up again... So, basically, by specifying the fluxes where/how do you specify the background values. Like the same as having a room where I would have a flux coming in from the door, a flux going out through the window but how would I define the value of the temperature itself?
Sorry if you already answered and I didnt get it. -
March 14, 2023 at 2:12 pm
Rob
Ansys EmployeeAsking to clarify is good. We're here to teach as much as help, possibly more so the former.
That's the fun part. If we add some Watts through one wall, the domain will heat up. At the other side we'd typically set a temperature. The flux then pushes against that temperature so the bulk domain will warm up to suit the set flux and temperature. Poorly set boundary conditions may then give very silly temperatures.
A flux in and a flux out will typically give a result of infinity or absolute zero for temperature. This usually is enough to cause divergence or lots of limit warnings.
So, in most cases we'd have some boundaries as heat flux and some as temperature (that may be a convection boundary, but it still gives us a temperature anchor).
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

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.

Ansys Blog
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
- 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
-
3778
-
2587
-
1829
-
1242
-
598
© 2023 Copyright ANSYS, Inc. All rights reserved.