ohh sorry, I didn't realise you were talking about transient variation of mass flow rate.
I have always worked with steady state flows so I don't know about how to incorporate time factor. and I don't know how to Keep phi in m3/s even when the fluid is compressible. I think it is defined in the solver equations. Thanks Vineet |
Nevermind, your comment was funny and not patronizing.
Basically, I wouldn't need a time factor if I can set the volume flow rate to be constant along time rather than the mass flow rate. I'll have a look at the solver and use a averaged rho value is I am not suceeding. Thanks for helping |
Quote:
I have a question if you don' mind? would you please tell me if one can use volumetricFlowRate for the incompressible flow too? thanks a lot and best regards. |
Getting back on subject
1 Attachment(s)
Getting back to flowRateInletVelocity, is there a way to specify a massFlowRate which follows a vector?
The documentation you showed says its normal to the face. Is there a way to change that? Need a vectored inlet mass flow (see 2D geometry image) |
1 Attachment(s)
Hello Everyone,
I am using chtMultiRegionSimpleFoam and my OpenFoam version is 4.1. My geometry has a box, and inside this box, there is a fluid region. The inlet and outlet of the fluid region is at two faces of the box. I have to specify a flow rate at the inlet. And according to that I set my boundary conditions like below: Code:
boundary Code:
--> FOAM FATAL ERROR: log file of my solver is also attached. Can someone please guide me where I am doing mistake? I shall be very thankful if someone can help me out in this. Thank you |
Hi everyone
Hi everyone
I am trying to execute an interFoam action but I get the following message. Could anyone help me please. -> FOAM FATAL IO ERROR: Please supply either 'volumetricFlowRate' or 'massFlowRate' and 'rho' file: C:/OpenFOAM/20.09/Janus-dev/run/Task4/0/U/boundaryField/inlet from line 26 to line 28. From function Foam::flowRateInletVelocityFvPatchVectorField::flo wRateInletVe locityFvPatchVectorField(const Foam::fvPatch&, const Foam::DimensionedField<Foam ::Vector<double>, Foam::volMesh>&, const Foam::dictionary&) in file fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelo cityFvPatchVectorField.C at line 78. FOAM exiting |
All times are GMT -4. The time now is 07:15. |