|
[Sponsors] |
guidance on steps for writing code for boundary layer of velocity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 3, 2018, 11:03 |
guidance on steps for writing code for boundary layer of velocity
|
#1 |
New Member
siamak rafizadeh
Join Date: May 2018
Posts: 8
Rep Power: 8 |
hi
I want to write code with matlab using dufort frankel method. two equation exist for this work . momentum equation in x direction for obtaining velocity inside boundary layer. consider gradient of pressure gradient at x direction as zero but in y direction is not zero. continuity equation for determining velocity inside boundary layer at y direction. what should i do for finding unknown variable. should i first determine all velocity in x direction by an approximate method like pohlhousen ? if i do that; then i shall believe that some finite difference method like dufort frankel is useless unless it will be used to optimize results obtained by an approximate method ? Thanks for your time |
|
May 3, 2018, 12:38 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71 |
Quote:
Are you solving laminar BL? The Prandtl equations are parabolic as the x-direction can be seen in a time-like way. Therefore, you can use FD method for parabolic equations. I suggest to write the equations in the form provided by the von Mises transformation |
||
May 3, 2018, 15:19 |
|
#3 |
New Member
siamak rafizadeh
Join Date: May 2018
Posts: 8
Rep Power: 8 |
Laminar Boundary Layer
Momentum in X-Direction (steady state, Incompressible flow): u ∂u/∂x+V ∂u/∂y=v (∂^2 u)/〖∂y〗^2 Dufort-Frankel finite Difference Discretization: u(i,j)*((u(i+1,j)-u(i-1,j))/(2*∆x)+V(i,j)*((u(i,j+1)-u(i,j-1)))/(2*∆y)=v ((u(i,j+1)-2*u(i,j)+u(i,j-1))/〖∆y〗^2 Above finite difference form of momentum equation shall be used to find all u(i,j) inside boundary layer. Continuity equation: ∂u/∂x+∂V/∂y=0 Dufort-Frankel form (u(i+1,j)-u(i-1,j))/(2*∆x)+(V(i,j+1)-V(i,j-1))/(2*∆y)=0 Above finite Difference form of continuity equation shall be used to drive V(i,j) . For using these equations it seems that you shall have all values of u(i,j) and Dufort-Frankel will only optimize these values. These initial values of u(i,j) can be driven from approximated methods like Karman-Pohlhausen: u/U_∞ =2*y/δ-〖(y/δ)〗^2 δ/x=√(30/((xU_∞)/v)) My questions are :1) isn’t any direct method to use Dufort-Frankel Method ? 2) Is described method a correct method for using Dufort- Frankel ? |
|
May 3, 2018, 15:34 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,776
Rep Power: 71 |
Quote:
Use the von Mises transformation so that you can work with only one equation in the form of the classical heat equation. Then you can use standard FD method for the update along x- direction |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VELOCITY vs VELOCITY IN STN FRAME vs RELATIVE VELOCITY | everest20 | FLUENT | 1 | July 13, 2015 08:35 |
[snappyHexMesh] Boundary layer in a pipe | Clementhuon | OpenFOAM Meshing & Mesh Conversion | 6 | March 12, 2012 12:41 |
[ICEM] Steps of generating prism layer | TommyLui | ANSYS Meshing & Geometry | 2 | September 8, 2011 17:01 |
errors | Fahad | Main CFD Forum | 0 | March 23, 2004 13:20 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 15:56 |