|
[Sponsors] |
How to add a body force to a momentum equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2021, 05:19 |
Unit of momentum source
|
#21 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 13 |
Hi foamer,
I see in the reactingPacelFoam OF4 solver usning momentumSource1 in fvOption file with vectorSemiImplicitSource. I do not know that the unit of U is m/s or what else? I want to add 4.12m/s to fvOption. |
|
May 10, 2021, 09:41 |
|
#22 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
The units of the source term for any transport equation can be deduced from the equation itself. Consider a general transport equation:
then the units of the source, , are the rate of change of quantity . The only complication is that the source terms can be quoted as specific terms (as above) or absolute, in which case the term is multiplied by the cell volume (i.e. the result from finite volume discretisation of the above transport equation). So, returning to your example, I am guessing that you want to add a source of momentum and not velocity (a source of velocity doesn't make physical sense). In which case, and the units of the source are therefore (specific) or (absolute), i.e. units of mass flow rate times velocity. Of course, if the solver is a kinematic solver like simpleFoam then remember that the solver assumes that . |
|
May 10, 2021, 09:48 |
|
#23 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 13 |
Thank Tobermory,
You right. I want to add momentum for water in interFoam solver. If I multiply rho.water*U, do I get momentum in fvOptions? and unit of the absolute source kg.m/s2, how to get it? I see kg/m3*m/s=>kg/m2.s |
|
May 10, 2021, 10:03 |
|
#24 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
Okay. Say you want to add a momentum source of 2kg/s * 2.5m/s = 5kg.m/s2 into your simulation, using a block of cells that has a total volume of 0.5m3. The specific momentum source value is then 5kg.m/s2 / 0.5m3 = 10kg/m2.s2. That's the (specific) value that should be injected in each of the source cells in fvOptions.
|
|
May 10, 2021, 23:08 |
|
#25 |
Senior Member
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 13 |
Thank Tobermory. I only have the velocity 2.5m/s, but I do not got flow rate of soure. Does it covert density and volume to mass flow rate?
|
|
May 11, 2021, 16:39 |
|
#26 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
No - you need to know the mass flow rate in order to be able to calculate the momentum source ...
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add extra body force (e.g. gravity) in simpleFoam: cavity example | juchess | OpenFOAM Running, Solving & CFD | 6 | December 17, 2016 08:19 |
[PyFoam] and paraview | eelcovv | OpenFOAM Community Contributions | 28 | May 30, 2016 10:23 |
how to add a force in the momentum equation | guillaumem | OpenFOAM | 0 | June 14, 2010 04:49 |
Viscosity and the Energy Equation | Rich | Main CFD Forum | 0 | December 16, 2009 15:01 |
UDF Addidtional Force to momentum equation | sfawal | FLUENT | 10 | July 15, 2009 10:29 |