CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Add a constraint equation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By sebastien.cadalen

LinkBack Thread Tools Display Modes
Old   July 10, 2013, 08:28
Default Add a constraint equation
New Member
sébastien cadalen
Join Date: Jul 2013
Posts: 1
Rep Power: 0
sebastien.cadalen is on a distinguished road
Dear all,

This post is about the way to impose an integral relation on the problem variables. As an example, let us consider a steady-state thermal transport problem with the following constraint:
\frac{1}{V} \int_{\mathcal{V}} T \, d\mathcal{V} = T_0
where \mathcal{V} is the fluid domain, V is the volume of the fluid domain, and T_0 a given temperature.

From a mathematical point of view this is equivalent to introduce a constant source term in the domain to satisfy the constraint. If the unconstrain problem is writen in the discrete space A \cdot X = B hence the constrained problem is:
A & C^t \\ C & 0
X \\ \lambda
B \\ T_0
where C is a row vector composed of V_i/V (the cell volume divided by the total volume) and \lambda is the Lagrange multiplier associated to the constraint.

This way the constraint is implicitly solved. We can also imagine the same kind of contraint on a part of the domain, on a surface of the domain, or involving more than one unknown, etc.

Is there any way to solve such a problem with implicit or explicit method?

If yes, how behaves the linear solvers with such a matrix to invert?

Best regards,

RGUP likes this.
sebastien.cadalen is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solve poisson equation just add a source term nandiganavishal OpenFOAM Running, Solving & CFD 17 January 21, 2017 05:24
add temperature equation to interFoam nygbook OpenFOAM Running, Solving & CFD 3 September 4, 2011 07:28
what is the condition to use the wave equation? mmff Main CFD Forum 0 January 26, 2010 05:25
Derivation of Momentum Equation in Integral Form Demonwolf Main CFD Forum 2 October 29, 2009 20:53
UDF to add two governing equation?? T.K. Yang FLUENT 0 May 9, 2006 02:54

All times are GMT -4. The time now is 16:43.