multiphaseEuler::phaseModel: Changed the phase-fraction field construction to work around a problem with Clang The Clang compiler does not use std::move to transfer the result of the ternary operator into the phase-fraction field resulting in it not being registered to the database. To work around this limitation/bug the ternary operator is now provided with tmp fields the result of which is passed with an IOobject to the final field constructor to ensure it is registered and the IO options set correctly.
multiphaseEuler::phaseModel: Changed the phase-fraction field construction to work around a problem with Clang
The Clang compiler does not use std::move to transfer the result of the ternary operator into the phase-fraction field resulting in it not being registered to the database. To work around this limitation/bug the ternary operator is now provided with tmp fields the result of which is passed with an IOobject to the final field constructor to ensure it is registered and the IO options set correctly.
OpenFOAM是一款开源的计算流体力学软件,用于模拟和分析流体流动和传热问题
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号