-
Notifications
You must be signed in to change notification settings - Fork 68
Question onf Uniform Temperature Environment #2208
-
I am curious about the uniform temperature environment example used in the Verification file radiation_2.in, downloaded from Github. The text in the V&V Guide, Section 3.4.2, states that this case models a furnace with a uniform temperature of 500°C. However, the input file, using the diagnostic parameter "DIAG" as shown below, uses F = 226.85. The Table in Section B.12 of the User’s Guide states the "F" parameter is in units of °C. While 226.85°C is equivalent to 500K, one might expect the room temperature to end up at 226.85°C (500K); but it results in room temperatures of 500°C. How does this work?
Say I want a room temperature of 500°C
So, I input an "F" value of 226.85°C (500K) and
The result is a room temperature of 500°C
It seems like the value selected for "F" should be the centigrade equivalent of the desired centigrade room temperature in Kelvin. For example, if I want the room environment at say 123°C, I set F = -150.15 or the centigrade equivalent of 123K.
This does seem to work but it doesn't seem to make sense. Can you please explain.
Note the "&MISC" command sets the room boundaries to be adiabatic. While this doesn't really pertain to the question above, it certainly pertains to establishing a uniform temperature environment.
Thanks in advance for your help.
Ray
Diagnostic parameter in radiation_2.in
&MISC ADIABATIC = .TRUE. /
&DIAG T = 0, 10000
F = 226.85, 226.85 /
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 6 comments 10 replies
-
This might be a typo. I'll take a look.
Beta Was this translation helpful? Give feedback.
All reactions
-
I think Andy created this V&V case. You might have him look to make sure case is correct
Beta Was this translation helpful? Give feedback.
All reactions
-
It seems that F on the DIAG line is read and immediately has 273.15 added to it. Then, in the radiation routine, it has another 273.15 added to it. Two wrongs are making a right here. The furnace temperature is 500 C, but the 226.85 was input just to right the wrong. I'll see if I can fix this. In the meantime, the case is working properly except for the fact that the inputs have been hacked to work.
Beta Was this translation helpful? Give feedback.
All reactions
-
Is the second time at line 1176 of Solve.f90?
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, see my PR that I just assigned to you and Paul. If you agree with my diagnosis, accept the PR.
Beta Was this translation helpful? Give feedback.
All reactions
-
Question -- is the T and F on the DIAG line used solely for setting a furnace temperature?
Beta Was this translation helpful? Give feedback.
All reactions
-
I think it's an easy fix. I'll try and V&V it.
Yes, T and F in the &DIAG is only for setting gas temperature. It was meant just and the verification tests that Andy put together.
Beta Was this translation helpful? Give feedback.
All reactions
-
Another question while I'm on the subject. What does "Selection List" mean in this table
image
Beta Was this translation helpful? Give feedback.
All reactions
-
It means that inputs can only be from specific inputs, for example "ON" or "OFF." Details of allowable inputs are in the footnotes.
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't understand. Wouldn't most of these be logical parameters that are T or F? How is ON or OFF conveyed in the input file?
Beta Was this translation helpful? Give feedback.
All reactions
-
True, but a selection list could include more than two possible inputs.
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
Does one write
&DIAG FIRE_SUB_MODEL='ON'
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
This error should be fixed now. Nightly release tomorrow morning should reflect the changes. Commit 27b21bb includes changes to code and verification input file. V&V shows no change in output.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you all for helping out.
Beta Was this translation helpful? Give feedback.