|
[Sponsors] |
Error when using variable's value in variable's boundary value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2018, 09:34 |
Error when using variable's value in variable's boundary value
|
#1 |
Member
Dimitrios S. P.
Join Date: Jan 2018
Posts: 63
Rep Power: 8 |
I have modeled an additional variable, let's call it 'A'.
The model that describes the flow of this variable is a transport model. The domain has two walls one outlet and one inlet. In the outlet the A's value is known. In the inlet a zero flux is needed. But cfx does not allow it. So I input A as A's value. But again, error are made during solution. How can I model this ? |
|
September 6, 2018, 21:42 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
Your zero flux inlet is simply modelled by saying the value of A at the inlet is zero. Then the flux of A through the inlet will be zero. But I suspect that was not what you are asking - so you better ask your question again making sure you ask exactly what you intend.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 7, 2018, 07:15 |
|
#3 |
Member
Dimitrios S. P.
Join Date: Jan 2018
Posts: 63
Rep Power: 8 |
From a physics perspective having a zero flux does not mean having a value of 0.
The component-additional variable I am modelling is accumulated in that region but does not flow out of it. Think of it as a wall for that component, althought fluid is fllowing out of that region. |
|
September 7, 2018, 08:37 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
I think I get what you are talking about now. If the diffusion speed of your additional variable is faster than the inlet velocity then your additional variable will diffuse upstream and out the inlet. Is this what you are trying to stop?
To do this you are trying to impose a zero normal gradient on the additional variable at the inlet. The documentation suggests there is a zero flux option for additional variables (https://www.sharcnet.ca/Software/Ans.../i1305141.html).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Tags |
transport model |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source | silvan | CFX | 3 | June 16, 2014 10:49 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |