CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Periodicity in two directions (https://www.cfd-online.com/Forums/fluent-udf/227646-periodicity-two-directions.html)

cfdEng_ June 4, 2020 19:41

Periodicity in two directions
 
Background: I am trying to simulate a compressible flow over an infinite plate covered with hemispherical pimples. I reduced my domain to a row of a few hemispherical pimples. Ideally, I would like to apply periodic BC in two directions: sideways (pressure gradient=0) and from inlet to outlet (specified pressure gradient). The top surface is a simple free-slip wall.

Problem: FLUENT allows specifying a single pressure gradient value that is applied to all periodic interfaces (sideways and in/out).

Question: I am not familiar with UDFs and I am wondering what is the best way to define periodic BC so that I will manage to impose different pressure gradient values in the two directions.

Thank you in advance.

vinerm June 5, 2020 02:53

Compressibility
 
Compressibility renders the flow aperiodic. You cannot model compressible flow with translational periodic condition.

cfdEng_ June 5, 2020 06:34

Quote:

Originally Posted by vinerm (Post 773446)
Compressibility renders the flow aperiodic. You cannot model compressible flow with translational periodic condition.

First of all, I would like to thank you for your helpfulness.

In a previous post (Link: https://www.cfd-online.com/Forums/fl...onditions.html), you said that by applying FLUENT's periodic inlet BC to compressible flows:

1. (rho*V)in = (rho*V)out
2. Temperature follows the scaled temperature treatment
3. rho is calculated through the equation of state
4. V is derived from continuity

My questions are:
1. Can I model a periodic heat transfer problem (thus, compressible) with translational periodicity or I have to develop a user-defined boundary condition for inlet and outlet?
2. In case of compressible flows, is translational periodicity not even applicable to sidewalls?

Thank you in advance.

vinerm June 5, 2020 06:43

Periodicity
 
Mass flow is conserved whether periodicity or not. However, one of the limitations of the periodic conditions in Fluent is that the flow should be incompressible. Whether it is limitation of implementation in Fluent or applicable to fluid flow in general would require more thought.


All times are GMT -4. The time now is 21:53.