# Questions tagged [fluid-dynamics]

The study of the properties of fluids and gases in motion

579 questions
Filter by
Sorted by
Tagged with
32 views

### Will we ever be able to control weather? [closed]

More specifically, will we be able to understand weather dynamics to such a computational detail that we will be able to influence the weather patterns? E.g. inducing rain during droughts over a ...
29 views

### How does Tannehill impose boundary conditions when coding the Parabolized Navier Stokes on an Implicit Finite Differences Scheme?

I'm trying to implement the scheme he describes on his book "Computational Fluid Mechanics and Heat Transfer" on Chap.9 and I'm having trouble imposing BC. I don’t get how he imposes them. I ...
1 vote
32 views

### Adding wall friction to a 3D model - Stokes equation

Maybe that is not the best place for the following question, if such, let me know and sorry. I would like to model the flow of expanding bentonite in a fracture following the given reference. In order ...
• 89
75 views

### The mathematical meaning of a zero gradient pressure boundary condition in the Navier-Stokes equations

I would like to solve the Navier-Stokes equations for the unsteady problem of the flow around a circular cylinder. I would like to understand how to write mathematically the boundary condition for the ...
1 vote
195 views

### CFD in Python: Mesh Generation

I am trying to set up a 3D CFD scheme for thermal and flow modelling in Python using the finite volume method. The first concern is to build the geometry and an accompanying mesh that is efficient for ...
58 views

### The local and average Nusselt number in a square cavity

I am in the process of programming the local & average Nusselt number in a left vertical wall but my Matlab script gives me inappropriate values and it doesn't change with changing of Rayleigh ...
1 vote
36 views

### Semi-lagrangian method for compressible fluid (non divergence free)

I am looking for a semi-Lagrangian method for advection with a non divergence free velocity field. The equation is \begin{align} \frac{\partial C(x,t)}{\partial t} &= - \nabla \cdot (\vec{v}(x,t) ...
• 199
56 views

### Passing boundary conditions to solver

Quite broad question, Currently building own Poisson solver subroutine for CFD solver. Works smooth, the goal is to generalise the input and make it flexible. Description of also: Memory allocation. ...
• 326
47 views

### How can I correctly determine velocity of a point inside a grid after using mixed finite element method to solve Poisson equation?

I am using the mixed finite element method (MFEM) to solve the Poisson equation: $$\Delta h = 0,$$where $h$ denotes hydraulic pressure. The MFEM could determine the normal flux rate, $q_n$, through ...
69 views

### Shock Capturing Methods for Shallow Water Equations

I am looking for some help finding a numerical solution to the shallow water equations: $\partial_tu+\partial_x(u^2/2+g\eta)=0$ $\partial_t \eta+\partial_x(u\eta)=0$. where $u$ is the depth averaged ...
• 23
1 vote
162 views

### How to implement Lax-Friedrich flux splitting with WENO scheme

I'm working on modeling a shock wave using the Euler equation with an advanced Equation of state and the fifth order WENO scheme. The equation are set up on the form: \frac{\partial U}...
• 55
147 views

### Recommended CPU for CFD running parallel, FDS (Fire Dynamics Simulator)

I am purchasing a new workstation to run FDS (Fire Dynamics Simulator) simulations, a CFD code for thermally driven fluid flow. Currently, I am using an Ubuntu Linux build with a Xeon E5-2630 v3 @ 2....
• 29
1 vote
40 views

### TVD slope / flux limiters formulation

Even if the formulation is the same the TVD slope limiter can be applied: to state reconstruction at the interface, in 1D FV formulation, we reconstruct the $Q^*_{j+1/2}$ and the $Q^*_{j-1/2}$ in the ...
• 382
143 views

### Can I use periodic boundary conditions for U but not for p?

Cross-posted from Stack Overflow. (https://stackoverflow.com/questions/70686368/can-i-use-periodic-boundary-conditions-for-u-but-not-for-p) I am trying to numerically compute the drag force around a ...
• 109
1 vote
73 views

### Direct integration of 2D Euler Equations with Runge Kutta shows oscillating Courant-Friedrichs-Lewy coefficient. Stiff or Bug?

By writing the direct integration of the 2D Euler Equations in a wide and short box where the fluid enters and exits through the horizontal faces using the Runge Kutta O(4) method I have found that ...
• 113
57 views

70 views

207 views

### Test functions of Raviart-Thomas elements?

The test functions of general finite elements are like interpolation functions (if my understanding is correct). But how about test functions of Raviart-Thomas elements? Let's raise the $RT0$ element ...
138 views

### What is the most suitable numerical approach for modelling multiphase flow with particle interactions?

If I want to build a solver for this following problem: 1. There is stagnant water governed by the Navier-Stokes equation in the domain. ...
201 views

### How to enforce fluid and solid dynamic coupling in fluid-structure interactions using the finite element method?

I apologize in advance if the question has been posted before or if it sounds a bit naive. I am writing my own code in MATLAB for a staggered finite element solver for fluid-structure interaction ...
66 views

### Derivation of compressible volume-of-fluids formulation

I am trying to derivative the equations from [1] for a compressible Volume-of-fluids formulation but I am stuck in one of the last steps and would like to request some help to solve it. The governing ...
72 views

### Solute transport around a solid obstacle

I am a newbie in CFD and single/multiphase flow and transport in general. As part of my quest to learn, I am trying to model solute transport around a solid object in the center of a 2D domain. The ...
• 47
72 views

### Instability at the boundary of a finite difference simulation of a hyperbolic PDE

I want to simulate the hyperbolic partial differential equation $$W_{tt} + V W_{tx} + k_E V W_x + k W_t = 0,$$ but I am having trouble finding a discrete analog of this equation which is numerically ...
• 131
122 views

### Discontinuous pressure elements for incompressible Navier-Stokes

I am looking for some LBB-stable velocity-pressure combinations for incompressible Navier-Stokes where the pressure space is element-wise discontinuous, preferably with a linear variation elementwise. ...
• 590
1 vote
60 views

### Good non oscilliatory derivatives for an exsisting grid

I'm calculating the entropy production of a shockwave by utilizing the equations: \sigma = J'_q\frac{\partial}{\partial x}\left(\frac{1}{T}\right) +\frac{1}{T}\frac{4\eta}{3}\left(\...
• 55
57 views

### Jos Stam's stable fluids — why is the timestep multiplied by the number of grid cells?

One more question about Jos Stam's GDC tutorial on stable fluids: in the advection step on page 8, the timestep for each dimension is implemented as dt * N, where <...
• 145
1 vote
41 views

### Jos Stam's stable fluids — why multiply by the grid size when subtracting out the curl-free part?

Considering page 10 of Jos Stam's GDC tutorial on stable fluids, the function project() first obtains the divergence of the velocity field: ¹ ...
• 145
89 views

### Simulating the behavior of falling peas

I hope this is the right place for my question. I am a university student who designed a pea-pouring machine.Now I‘m really interested in simulating the behavior of those peas. Basically, they are ...
97 views

### Discretizing the viscous component in 1 - D Navier stokes compressive flow

I've been working on modelling the NS equations in order to simulate shock waves. The equations are set up on the form: \frac{\partial U}{\partial t} + \frac{\partial F(U)}{\partial x}...
• 55
1 vote
150 views

### Non-reflective boundary condition

I'm currently solving incompressible Navier-Stokes system of equations with periodic flow and high viscosity. Is there any outlet boundary types that avoids the reflection of flow from the outlet back ...
• 326
66 views

### Multigrid method: linear solver and modified residual

I am trying to better understand the FAS multigrid algorithm for Euler equation in FV discretization. The usage of the modified residual (the residual with forcing) inside the different cases: ...
• 382
81 views

### Filter size of large eddy simulation with Smagorinsky sub-grid stress model

I am trying to implement Large eddy simulation for solving air flow simulation with large Reynolds number using Smagorinsky sub-grid stress model. I read that the filter size should be calculated ...
• 23
1 vote
100 views

### Weird "oscillatory" modes appearing in FEM simulations

I am using COMSOL to solve a mathematical model involving thermoelectric hydrodynamic (TEMHD) flow. I am running a very large parameter sweep and using the solutions obtained to make some plots. ...
• 111
187 views

• 289
1 vote
53 views

• 326