ENH: solarLoad: new load model, timeDependent
Summary
-
TimeFunction1
input for direct solar irradiation (w/m2) -
TimeFunction1
input for diffuse solar irradiation (w/m2) -
TimeFunction1
input forspectralDistribution
Details of new models (If applicable)
The following entry set in the simpleCarSolarPanel
tutorial produces the attached animation:
sunLoadModel timeDependent;
directSolarRad table
(
(0 500)
(5 500)
(10 0)
);
diffuseSolarRad 0;
spectralDistribution table
(
(0 (2.0 1.2))
(1 (1.1 1.3))
);
animation-Qprimary-fps1.avi (animation is prepared by Alseny Diallo).
Risks
No changes in user input or simulation output.
There seems to be a previous bug in solarLoad
model, where wallCoupled
entry was undefined in one of the constructors. We have fixed this bug; however, the fix is not backward compatible since we cannot define an undefined behaviour. For this reason, you may need to add wallCoupled
keyword to the radiationProperties
dictionary to keep all output the same from one version to the next, otherwise qr
field content may end up being always zero for some cases.
Merge request reports
Activity
changed milestone to %v2106
added feature label
added 14 commits
-
1e5d47cb...05a0e7f3 - 12 commits from branch
develop
- cd5f06a7 - DOC: radiation fvOptions: improve documentation
- aa7f6601 - ENH: solarLoad: new load model, timeDependent
-
1e5d47cb...05a0e7f3 - 12 commits from branch
added 6 commits
-
aa7f6601...8abac1dc - 4 commits from branch
develop
- f327a787 - DOC: radiation fvOptions: improve documentation
- cb70cfa9 - ENH: solarLoad: enable time-dependent direct/diffuse irradiance
-
aa7f6601...8abac1dc - 4 commits from branch
- Test case: (link)
- Elementwise backward compatible for the existing tutorials:
new-log-chtMultiRegionFoam/solarBeamWithTrees
old-log-chtMultiRegionFoam/solarBeamWithTrees
new-log-chtMultiRegionFoam/externalSolarLoad/
old-log-chtMultiRegionFoam/externalSolarLoad/
added 8 commits
-
cb70cfa9...644857ba - 6 commits from branch
develop
- 4ad4783e - DOC: radiation fvOptions: improve documentation
- 82a24a39 - ENH: solarLoad: enable time-dependent direct/diffuse irradiance
-
cb70cfa9...644857ba - 6 commits from branch
mentioned in commit 20af3862