或者说找一下Heat transfer and buoyancy-driven flows的算例,求解器的话使用:buoyantBaffleSimpleFoam、buoyantBoussinesqPimpleFoam、buoyantBoussinesqSimpleFoam、buoyantPimpleFoam、buoyantSimpleFoam这几种
都可以
inlet
{
type codedFixedValue;
name dummy;
code
#{
const scalar& time = this->db().time().value();
operator==(vector(2.0*sin(time),0,0));
#};
value $internalField;
}