CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Convection operator (Theoretical question)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2015, 23:16
Default Convection operator (Theoretical question)
  #1
New Member
 
Join Date: Jul 2015
Posts: 7
Rep Power: 10
stridder is on a distinguished road
Hello,

I am trying to write convection term from Navier-Stokes equation in vector-matrix form.
Let V,W be two velocity solutions (2-dimensional in my case).
From my calculation I got that
(V convection operator W) = Hessian(W)*V.
Can somebody confirm/disprove whether above is true?
Also want to make sure that convection operator is linear in both arguments. The last seems obvious but need to know for sure.
Thank you.
stridder is offline   Reply With Quote

Old   July 9, 2015, 03:27
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by stridder View Post
Hello,

I am trying to write convection term from Navier-Stokes equation in vector-matrix form.
Let V,W be two velocity solutions (2-dimensional in my case).
From my calculation I got that
(V convection operator W) = Hessian(W)*V.
Can somebody confirm/disprove whether above is true?
Also want to make sure that convection operator is linear in both arguments. The last seems obvious but need to know for sure.
Thank you.

I am not sure about the sense of your question ...

independently from the number of dimensions, the convective operator is defined by the nabla operator along with a velocity vector field:

Div (v * )

if you consider the momentum equation, the term is Div (v v) and is non linear. By exploiting the continuity equation you can recast it as v *Grad v.


FMDenaro is offline   Reply With Quote

Old   July 9, 2015, 20:30
Default
  #3
New Member
 
Join Date: Jul 2015
Posts: 7
Rep Power: 10
stridder is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I am not sure about the sense of your question ...

independently from the number of dimensions, the convective operator is defined by the nabla operator along with a velocity vector field:

Div (v * )

if you consider the momentum equation, the term is Div (v v) and is non linear.
[/B]
Right, but I am talking about each argument of convection operator. In particular I have weak formulation where first v is linearized using Crank-Nicolson method (lets call it vExtrap). To implement it into code I substitute velocity as a linear combination of basis functions both into vExtrap and into 2nd v and express it in matrix form via coefficients of velocity solution at some time step in basis of velocity step.
For example in weak formulation I have the term
convection operator((3/2*Vel_{n+1}-1/2*Vel_n)*Vel_{n+1}, VelocityTestFunction)

Vel_n denotes velocity solution at time step n. After I substitute Vel_n = \sum_i{c_i*VelocityBasisFunction_i} and VelocityTestFunction=VelocityBasisFunction_j into the above term,
can I take sum outside convection operator outside convection operator for both 1st and 2nd arguments?
Thats what I mean by 'linear in both operands'.
If yes, than it becomes sum_i( sum_j(convection operator(VelocityBasisFunction_i, VelocityBasisFunction_j) )).
Then to compute convection operator(VelocityBasisFunction_i, VelocityBasisFunction_j) I need to write it in the code in matrix-vector form using grad(VelocityBasisFunction_i), VelocityBasisFunction_j values etc. components (everything happens in cartesian coordinate system).
stridder is offline   Reply With Quote

Old   July 10, 2015, 04:30
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by stridder View Post
Right, but I am talking about each argument of convection operator. In particular I have weak formulation where first v is linearized using Crank-Nicolson method (lets call it vExtrap). To implement it into code I substitute velocity as a linear combination of basis functions both into vExtrap and into 2nd v and express it in matrix form via coefficients of velocity solution at some time step in basis of velocity step.
For example in weak formulation I have the term
convection operator((3/2*Vel_{n+1}-1/2*Vel_n)*Vel_{n+1}, VelocityTestFunction)

Vel_n denotes velocity solution at time step n. After I substitute Vel_n = \sum_i{c_i*VelocityBasisFunction_i} and VelocityTestFunction=VelocityBasisFunction_j into the above term,
can I take sum outside convection operator outside convection operator for both 1st and 2nd arguments?
Thats what I mean by 'linear in both operands'.
If yes, than it becomes sum_i( sum_j(convection operator(VelocityBasisFunction_i, VelocityBasisFunction_j) )).
Then to compute convection operator(VelocityBasisFunction_i, VelocityBasisFunction_j) I need to write it in the code in matrix-vector form using grad(VelocityBasisFunction_i), VelocityBasisFunction_j values etc. components (everything happens in cartesian coordinate system).

sorry, but I still don't get the focus point of the problem....

weak formulation means you have an integral form, therefore the convective operator is actually


Int [S] n.v (*) dS

S being the surface of the volume and (*) is the general function (scalar or vector) on which you apply the operator.

You can use CN time integration on the weak form but you have to consider the discretization of the integral of the flux. Then you have to linearize the term to get a linear algebric system.

However, very often the NS code use the convective term in the explicit Adam-Bashforth integration to avoid get into a non-linear system.
The diffusion is discretized by the CN.
FMDenaro is offline   Reply With Quote

Old   July 11, 2015, 23:47
Default
  #5
New Member
 
Join Date: Jul 2015
Posts: 7
Rep Power: 10
stridder is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
sorry, but I still don't get the focus point of the problem....

weak formulation means you have an integral form, therefore the convective operator is actually


Int [S] n.v (*) dS

S being the surface of the volume and (*) is the general function (scalar or vector) on which you apply the operator.
My supervisor told me not to compute it via surface integral and calculate convective operator by its definition. Therefore I need to represent it via basis functions. Not sure why, probably surface integral gives larger error during computations than volume integral.

Quote:
Originally Posted by FMDenaro View Post
However, very often the NS code use the convective term in the explicit Adam-Bashforth integration to avoid get into a non-linear system.
The diffusion is discretized by the CN.[
Where can I read about this?
stridder is offline   Reply With Quote

Old   July 12, 2015, 04:21
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by stridder View Post
My supervisor told me not to compute it via surface integral and calculate convective operator by its definition. Therefore I need to represent it via basis functions. Not sure why, probably surface integral gives larger error during computations than volume integral.



Where can I read about this?


is a hystorical methods ....

http://ntrs.nasa.gov/archive/nasa/ca...9840014260.pdf
FMDenaro is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unanswered question niklas OpenFOAM 2 July 31, 2013 16:03
convection, diffusion, advection, dispersion Lam Main CFD Forum 7 May 18, 2007 12:04
heat convection in a forced fluid Daniele COMSOL 0 December 20, 2005 08:09
natural convection in a sealed enclosure James Main CFD Forum 4 April 2, 2001 15:48
question K.L.Huang Siemens 1 March 29, 2000 04:57


All times are GMT -4. The time now is 02:48.