|
[Sponsors] |
How to obtain the Jacobian matrix of linearized Navier–Stokes equations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 10, 2022, 10:32 |
How to obtain the Jacobian matrix of linearized Navier–Stokes equations
|
#1 |
New Member
SUN
Join Date: Feb 2022
Posts: 4
Rep Power: 4 |
Dear all,
Recently, I am new to the hydrodynamics' linear stability analysis. And I have read a relative literature on linear stability analysis using openFoam(https://www.sciencedirect.com/scienc...00936116300024). On the framework of openfoam, my question is that how to obtain the Jacobian matrix of the right handside of linearized Navier–Stokes equations as mentioned in equation(6). All suggestions are appreciated. |
|
March 16, 2022, 16:13 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Have a look at this. https://www.google.com/url?sa=t&sour...7Buj1hHcIWT3Ze.
There you will find the Jacobian matrix of the linear navier stokes equation |
|
March 18, 2022, 08:39 |
|
#3 |
Senior Member
|
OpenFoam does *not* apply a Newton iteration to linearize the non-linear convective terms in the momentum equation.
OpenFoam instead employs a successive iteration (fixed point iteration, Picard iteration instead, see wiki for explanation of these terms). See openfoam documentation. OpenFoam does not compute a Jacobian. Examples of public domain codes that do maybe compute the Jacobian include Fenics, FireDrake, NGSolve, Gridap, Ferrite, WaterLilly and Trixie. |
|
October 16, 2023, 16:43 |
|
#4 | |
Senior Member
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8 |
Quote:
Regarding how to compute the Jacboian ... 1. Try to find out if any other research paper has already published an analytical form of the Jacobian you're looking for. I have found many for compressible euler flows, and one for navier stokes. Still searching for other research papers ... 2. If you don't find anything, you have to do it yourself. Obviously the NS equations are difficult, So, if .. U = [rho, u*rho, v*rho, E*rho] F = convective flux vector in x direction, G = convective flux vector in y direction, Computing the Jacobians dF/dU, and dG/dU is obviously a complicated thing .. because it's difficult to understand what even are the Jacobian components dF/d(rho), or dF/d(u*rho) What I've seen other researchers do though, is reformulate the equations. If you assume A = rho, B = u*rho, C = v*rho, D = E*rho, you can actually reformulate your flux equations with A,B,C,D ... As a result, you can now easily compute the Jacobian components as dF/dA, dF/dB, dF/dC etc... Since the flux equations in F are reformulated in terms of A,B,C,D, you can calculate the partial derivatives with respect to A,B,C,D |
||
Tags |
flow instability, icofoam, linearized navier–stokes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guide: Writing Equations in LaTeX on the CFD Online Forums | pete | Site Help, Feedback & Discussions | 27 | May 19, 2022 04:19 |
Linearized NS euqations: how to solve them?(problem with Matrix operations..) | matteoL | OpenFOAM Running, Solving & CFD | 0 | November 18, 2009 07:58 |
numerical jacobian, matrix free methods | Nikhil | Main CFD Forum | 1 | December 5, 2008 04:51 |
Linearized Euler Equations a problem with grad | ivan_cozza | OpenFOAM Running, Solving & CFD | 0 | October 8, 2008 15:21 |
errors in curvilinear grid Jacobian matrix | DSS | Main CFD Forum | 11 | February 12, 2007 09:44 |