Add LinearFVFunctorRadiativeBC — second-order radiative heat flux BC for LinearFV#32406
Add LinearFVFunctorRadiativeBC — second-order radiative heat flux BC for LinearFV#32406deOliveira-R wants to merge 5 commits intoidaholab:nextfrom
Conversation
Implements a Newton-linearized radiative heat flux boundary condition for the linear finite volume framework. The nonlinear flux q = sigma * eps * (T^4 - Tinf^4) is linearized around the current cell-center temperature at each assembly step, providing implicit matrix and explicit RHS contributions. Picard convergence to the nonlinear solution is driven by pseudo-transient stepping or a coupled nonlinear solve. Includes header, source, documentation, and two regression tests (hot-body cooling and thermal equilibrium verification). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the first-order cell-center linearization with a Robin-type formulation that linearizes the radiative flux around the extrapolated boundary face temperature T_b_old = T_P + grad(T)*d_cf. This eliminates the O(h) truncation error in the boundary flux, achieving second-order spatial accuracy consistent with the interior FV scheme. Implementation inherits from LinearFVAdvectionDiffusionFunctorRobinBCBase, providing getAlpha/getBeta/getGamma where alpha=k, beta=4*sigma*eps*T_b_old^3, and gamma=sigma*eps*(3*T_b_old^4 + T_inf^4). Non-orthogonal corrections and value/gradient contributions are handled by the Robin base class. Adds MMS convergence test verifying O(h^2) rate (measured rate: 2.005) using a quadratic manufactured solution with a constant body force. Updates gold file and documentation accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e number - Replace unicode middle dot in conductivity unit comment with ASCII hyphen (W/(m-K)) - Replace placeholder '#XXXXX' with actual PR number 'idaholab#32406' in test spec Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Job Precheck, step Clang format on 61b8372 wanted to post the following: Your code requires style changes. A patch was auto generated and copied here
Alternatively, with your repository up to date and in the top level of your repository:
|
|
Job Precheck, step Python: black format on 61b8372 wanted to post the following: Python black formattingYour code requires style changes. A patch was generated and copied here. You can directly apply the patch by running the following at the top level of your repository: Alternatively, you can run the following at the top level of your repository: |
- clang-format: rewrap long lines in comment block and parameter description - black: convert single quotes to double quotes, reformat long subprocess call Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Job Test, step Results summary on 865462f wanted to post the following: Framework test summaryCompared against 8c713c9 in job civet.inl.gov/job/3611922. No change Modules test summaryCompared against 8c713c9 in job civet.inl.gov/job/3611922. Added tests
|
|
Job Documentation, step Docs: sync website on 865462f wanted to post the following: View the site here This comment will be updated on new commits. |
…nvergence test The TestHarness sets MOOSE_PYTHONUNITTEST_EXECUTABLE to the correct executable path when running tests. Using only the hardcoded relative path fails in environments where the path layout differs (e.g., combined app CI builds). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
LinearFVFunctorRadiativeBC, the LinearFV counterpart ofFVFunctorRadiativeBC.LinearFVAdvectionDiffusionFunctorRobinBCBase; non-orthogonal corrections and all matrix/RHS contributions are handled by the Robin base class.Test plan
🤖 Generated with Claude Code