|
[Sponsors] |
Implementation of periodic boundary condition on a 2D channel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 9, 2023, 09:32 |
Implementation of periodic boundary condition on a 2D channel
|
#1 |
Member
Divyaprakash
Join Date: Jun 2014
Posts: 74
Rep Power: 12 |
Hi,
Using https://www.montana.edu/mowkes/resea...0_02_28_v2.pdf document as a reference I wrote a code in Fortran, and I used that as a fluid solver to couple it with a simple structure solver via immersed boundary method. I am now looking to simulate periodic boundary conditions at the two ends of the domain to simulate channel flow. However, I am getting very confused when it comes to applying boundary conditions for periodicity with the staggered grids of U, V, and P. Till now, all my efforts have failed. Looking at the document (notations on page 3) can someone please tell me how one would apply periodicity to the left and right walls? |
|
July 9, 2023, 13:59 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,893
Rep Power: 73 |
Quote:
Looking at Fig.1: u(imax+1,j)=u(imin,j) v(imax+1,j)=v(imin,j) p(imax+1,j)=p(imin,j) be careful on the pressure, you solve only for the fluctuationg part, a constant driving force is added explicitly in the momentu equation. |
||
July 10, 2023, 04:12 |
|
#3 | |
Member
Divyaprakash
Join Date: Jun 2014
Posts: 74
Rep Power: 12 |
Quote:
I need to calculate the right hand side(RHS) of the above equations in order to assign them to the left hand side. My issue is that I am unable to figure out how I would calculate the RHS in your equations? |
||
July 10, 2023, 04:34 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,893
Rep Power: 73 |
Quote:
Thus, you can write the equations at imin by considering any node at imin-1= imax-1. |
||
Tags |
boundary conditions, periodic bc, staggered grid |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about different kinds of Boundaries and Boundary Conditions | granzer | Main CFD Forum | 17 | April 12, 2022 18:27 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Bug in fvc::grad() and periodic boundary condition | JBUNSW | OpenFOAM | 3 | November 15, 2012 04:09 |
about the implemention of periodic boundary condition | harbinyg | Main CFD Forum | 5 | July 12, 2012 05:30 |