Hello,
I want to enter different temperatures at Inlet in OpenFOAM, is that possible?
I have defined a table and entered a list for temperatures, but did not work
Inlet, Temperature
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Posts: 9
- Joined: Tue Jan 31, 2023 11:59 am
Inlet, Temperature
- Attachments
-
- Screenshot 2023-03-15 103827.png (19.61 KiB) Viewed 1189 times
Re: Inlet, Temperature
It all comes down to what is written in case files. I think that something like this in the T file could work:
Give it a try. Of course, enter your values. Some additional changes might be necessary.
Code: Select all
inlet
{
type uniformFixedValue;
uniformValue table
(
(0.0 290.0)
(1.0 340.0)
)
}
Give it a try. Of course, enter your values. Some additional changes might be necessary.
-
- Posts: 9
- Joined: Tue Jan 31, 2023 11:59 am
Re: Inlet, Temperature
It worked, thank you
Re: Inlet, Temperature
Great, did you have to modify anything in the code that I posted or was it fine ?
-
- Posts: 9
- Joined: Tue Jan 31, 2023 11:59 am
Re: Inlet, Temperature
I want to say, the first variable is "time" and the second variable is "temperature[K]"
I want to make a coupling between CFD (cfdof) and FEM. Is it possible to set different Heat Flux in ConstraintHeatflux?
I will take temperature from cfd and put it in FEM. Do you have a idea for this coupling?
I want to make a coupling between CFD (cfdof) and FEM. Is it possible to set different Heat Flux in ConstraintHeatflux?
I will take temperature from cfd and put it in FEM. Do you have a idea for this coupling?
Re: Inlet, Temperature
It’s not supported. You would have to do this manually (with some scripts) or use the preCICE tool for multiphysics analysis.
-
- Posts: 9
- Joined: Tue Jan 31, 2023 11:59 am
Re: Inlet, Temperature
How can i do this manually?
Schoud i change inp.file?
Schoud i change inp.file?
- Attachments
-
- Screenshot 2023-03-29 221355.png (47.97 KiB) Viewed 956 times
Re: Inlet, Temperature
Automation with scripts would be necessary. You would have to export temperatures from CFD results and map them to mesh for FEM in CalculiX. The problem is that the results would have to be interpolated and then you could define a temperature field with keywords (again using some automation because you will need lots of keyword lines defining temperature at each node). ParaView may help with this process, at least partially: https://discourse.paraview.org/t/interp ... -mesh/5479Ehsandehghani wrote: ↑Wed Mar 29, 2023 8:17 pm How can i do this manually?
Schoud i change inp.file?