|
[Sponsors] |
Developing a matrix coefficient for a source term and adding a constrain equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2019, 12:38 |
Developing a matrix coefficient for a source term and adding a constrain equation
|
#1 |
Member
Join Date: Feb 2018
Posts: 91
Rep Power: 8 |
Hello, I want to add a source term to the momentum equation (UEqn). I understand that the source term is usually contained in the matrix UEqn.H but in this case I would like to develop a source term that acts as a constrain equation. The constrain equation is given as:
where U is the velocity and Q is the flow rate. I will like to develop a matrix coefficient for and I am wondering how I will go about doing this. The matrix I believe would contain the area of the patch at the boundary. I appreciate any assistance with the question. Regards charles. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a Source Term to Pressure equation pEqn in SimpleFoam | oscar_urri | OpenFOAM | 11 | February 22, 2018 18:52 |
Energy Equation - Adding source term | cfdsolver1 | OpenFOAM Running, Solving & CFD | 9 | February 21, 2018 11:52 |
Adding a Source Term to an User Defined transport equation | rma | OpenFOAM Programming & Development | 1 | January 2, 2017 06:55 |
Adding implicit source term to momentum equation | fs82 | OpenFOAM | 6 | September 23, 2009 04:29 |
Adding a source term to concervation of species equation | bernarde | STAR-CCM+ | 0 | June 4, 2009 04:17 |