CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

DeltaT dependency of solution in chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2020, 09:29
Default DeltaT dependency of solution in chtMultiRegionSimpleFoam
  #1
New Member
 
Join Date: Aug 2020
Posts: 1
Rep Power: 0
aat74 is on a distinguished road
Hello Everybody,


I've a case: a room filled with air, adiabatic round & bottom walls and free atmosphere on top (p_rgh as totalPressure and U as pressureInletOutletVelocity). in the middle of the room is a solid that represents a constant heat source(fvoption asscalarSemiImplicitSource).



Ignoring the cooling with convection the solid temperature should rise up 6 degree celsius in 1 sec (1 unit of time).



When I run chtMultiRegionsSimpleFoam for 1 time unit with different DeltaT I get different temperature for solid. I tries from 0.5-0.001.



The smaller is the time step the higher is the end Temperature after 1 time unit, and it differs very much.



I doub't that I have problem with interpretation of entTime and deltaT.
do they have absolute meanings(like 1 means 1 sec and 0.001 means 1 msec) or they are relative(endTime is interpreted according to DeltaT).



Thank you in advance for your advice(s).



All the best

Amirali
aat74 is offline   Reply With Quote

Old   August 18, 2020, 14:15
Default
  #2
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6
wanghongjie is on a distinguished road
I initially coupled cht and interPhaseChangeFoam together, but there are problems that I can't solve. Please help me to see if there is a solution. I have declared these parameters in createFluidFields.H, but after compilation, it shows that these parameters in setRegionFluidFields.H are not declared. I am not very clear about that. Thanks!

./fluid/setRegionFluidFields.H:15:25: error: ‘UFluid’ was not declared in this scope 15 | volVectorField& U = UFluid[i]; | ^~~~~~ ./fluid/setRegionFluidFields.H:16:31: error: ‘phiFluid’ was not declared in this scope 16 | surfaceScalarField& phi = phiFluid[i]; | ^~~~~~~~ ./fluid/setRegionFluidFields.H:17:27: error: ‘rhoFluid’ was not declared in this scope 17 | volScalarField& rho = rhoFluid[i]; | ^~~~~~~~ ./fluid/setRegionFluidFields.H:18:36: error: ‘interfaceFluid’ was not declared in this scope; did you mean ‘interface’? 18 | interfaceProperties& interface=interfaceFluid[i]; | ^~~~~~~~~~~~~~ | interface ./fluid/setRegionFluidFields.H:19:32: error: ‘rhoPhiFluid’ was not declared in this scope 19 | surfaceScalarField& rhoPhi=rhoPhiFluid[i];
and others
(I am very sorry that I can not upload pictures to the web page, which will cause reading inconvenience. I can only paste part of the wrong text.)
wanghongjie is offline   Reply With Quote

Reply

Tags
chtmultiregionsimpefoam, deltat


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 17:05
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 12:51.