We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fluid-dynamics]

The study of the properties of fluids and gases in motion

Filter by
Sorted by
Tagged with
1
vote
1answer
231 views

1D uniform flow test case for compressible flow

Are there any one dimensional hyperbolic test cases for a 1D uniform flow? (I need the test case for the purpose of showing the satisfaction of geometric conservation law on a moving mesh).
2
votes
1answer
308 views

a few questions on understanding geometric conservation law

I was wondering if anyone could help with understanding the geometric conservation law for moving domains. I came across Link1, and have tried to understood the paper by Farhat et al Link2. So far ...
1
vote
1answer
441 views

Shooting method - Matlab ODE

I'm trying to solve these equations of hypersonic adiabatic flow over a flat plate. I did all the simplifications and got these equations for the stagnation point flow. $$\left(Cf''\right)' + f f'' = \...
0
votes
1answer
288 views

boundary conditions of linear advection problem

I am solving the 1D advection problem given by: $$\frac{\partial u}{\partial t}=-c\frac{\partial u}{\partial x}$$ where c is the wave speed, and u is the unknown field variable, and x and t are time ...
0
votes
1answer
6k views

how can i show flow is incompressible?

How can I understand the flow is incompressible or not with this information at 4 edges?
1
vote
0answers
63 views

Solving a nonlinear problem with CDF

I'm trying to solve this problem: $\begin{cases} \partial_t E=-k\left([f(\rho)-i.\left[\delta+\frac{1}{2}a\left[\dfrac{\nabla^2_{\bot}}{4}+1-\rho^2\right]\right]]E - 2CP\right)\\ \partial_t P=-\...
7
votes
4answers
431 views

Are there any general fluid dynamics frameworks?

Are there any frameworks that could be classified as "general computational fluid dynamics framework"? What I'm thinking of is a framework that's modular and extensible in order to allow the ...
0
votes
1answer
133 views

maltab ode solver- user defined criteria to stop calculations

is there a way to add a user defined convergence criteria to an ode solver so that the solution is stopped? I know that Matlab uses absolute and relative tolerances but would that suffice in solving ...
4
votes
1answer
308 views

Fast Multipole Method in 3D

I am writing a FMM (Fast Multipole Method) algorithm in 3D. I generated the mesh and, currently, I am developing the expansion and the three (M2M, M2L, L2L) translation operators using spherical ...
1
vote
0answers
144 views

Do collocated grid arrangements definitely result in the checkerboard effect?

I understand the checkerboard effect due to the use of collocated grid arrangements in FVM. However, I wanted to know whether this problem is definitely bound to effect the results? For instance, I ...
1
vote
0answers
88 views

problem with understanding the fluid boundary conditions of a 1D probelm

I am having problems understanding the boundary conditions of the problem described in this paper on researchgate Essentially the problem consists of a one dimensional fluid chamber in contact with a ...
1
vote
0answers
42 views

Coriolis test problem

I have a eulerian hydrodynamic code, which I have recently implemented the Coriolis force in the integrator. Is there a standard test problem for the Coriolis force? Since this isn't a Lagrangian ...
7
votes
1answer
3k views

computing turbulent energy spectrum from isotropic turbulence flow field in a box

I have my 3 dimensional velocity flow-field u, v and w at a given instant of time from DNS using pseudo-spectral method. I need to calculate the energy spectrum ( in Fourier space ) as a function of ...
1
vote
2answers
360 views

significance of energy equation and its conservation

I am interested to know the significance of the energy conservation laws when modelling fluids (or other materials). Am I correct in saying that if energy is conserved then stability is achieved. In ...
8
votes
3answers
654 views

Good introduction to numerical methods for magnetohydrodynamics (MHD)

I very recently started to read up about magnetohydrodynamics (MHD). While I have experience in the fluid part (both theory and numerics), my knowledge about the magneto part is very limited. At the ...
3
votes
2answers
350 views

Stagnation or Total conditions in a pipe with moving fluid?

In Flow Science, they provide an example of boundary conditions and how to specify them for CFD simulations. The following is stated: Pressure Boundary Example For example, consider the ...
2
votes
0answers
114 views

Finite difference aproximation - Darcy law

I am solving following problem: Filtration of water can be described in bi-dimensional case by $$- \partial_x(K(x,y) \partial_x u ) - \partial_y (K(x,y) \partial_y u ) = 0, $$ where $u$ - water ...
2
votes
2answers
352 views

2d Euler manufactured solutions

Where can I find manufactured solutions for the 2d Euler equations, with the complete analytical terms, including the Jacobian of the source term ?
0
votes
1answer
110 views

A tweakable software for simulating VOF problem

I have to solve a simulation of fluid flow on Ansys, but my prof wants me to run a parallel simulation using the Volume of Fluid method in something with more visible guts than Ansys? Any ...
1
vote
0answers
86 views

Application of vector extrapolation methods to convergence to a steady state solution

I'm working on a fluid solver using dual-time stepping and everything works really well, except the convergence in pseudo-time is slow. I'd like to accelerate the convergence. I know multigrid methods ...
3
votes
1answer
173 views

LU-SGS and boundary conditions

I am trying to understand how boundary conditions are implemented when one uses the nonlinear LU-SGS algorithm for Euler equations. Most papers describe the Gauss-Seidel sweep over mesh cells, but do ...
3
votes
1answer
381 views

How to model the mixing of two fluids in a container?

In the context of a research project of mine, I am faced with the difficult task of modeling the mixing of two fluids in a container. I would like to achieve the following: Given a container (...
3
votes
1answer
335 views

Finite difference scheme for 2D sound propagation

I am simulating the sound wave propagation in non-rectangular and asymetric spaces using finite-difference method. I presume linear acoustics equations to be enough (i.e. $\Box p = 0$, $\Box \vec{v} = ...
4
votes
2answers
410 views

How are Spectral Methods applied to CFD? In particular, how is the pressure-velocity coupling implemented?

I know that spectral-methods which are weighted-residual methods can be applied to solve for the incompressible N-S equations. In particular, they are applied to Direct Numerical Simulations (DNS) for ...
1
vote
1answer
86 views

solving a hyperbolic set of equations - upwind type method

I want to solve a set of hyperbolic equations (not the Euler equations) using an upwind type method. I am interested in using a first order upwind scheme and one that is not based on the method of ...
3
votes
2answers
150 views

what do zero real parts of eigenvalues mean? Any good references?

I am solving a 1D advection problem of the the form $$dQ/dt=[A]Q$$ where {Q} is the vector of unknowns and [A] is the matrix of coefficients of spatial discretisation. I have worked out the ...
2
votes
1answer
318 views

MAC Projection in Projection method?

My question concerns the following paper: A Conservative Adaptive Projection Method for the Variable Density Incompressible Navier–Stokes Equations (http://www.sciencedirect.com/science/article/pii/...
0
votes
0answers
45 views

comparison of stability of two non-linear methods

I have solved a numerical problem using two different sets of non-linear governing equations. I want to get an understanding of the stability of the methods relative to each other. To do so, I solving ...
2
votes
0answers
137 views

what do positive real parts of eigenvalues mean?

I am solving a 1D advection problem of the the form $$d{Q}/dt = [A]{Q}$$ where {Q} is the vector of unknowns and [A] is the matrix of coefficients of spatial discretisation. I have worked out the ...
2
votes
2answers
169 views

Why have specialised upwind schemes been developed to solve hyperbolic equations?

Are upwind schemes such as Godunov type methods superior to central differencing schemes? Do the reasons include superiority in modelling hyperbolic problems with Dirichlet BC's?
3
votes
2answers
311 views

upwind schemes for solving inviscid euler equations

I'm new to the modelling of inviscid euler equations. I have come across few different upwind schemes that are used instead of central differencing schemes to model such flows, such as flux vector ...
2
votes
0answers
508 views

Molecular dynamics: Lennard-Jones forces in 2D system

As I am new to all these stuff I would like to verify whether my procedure is correct. I need to calculate the Lennard-Jones potential, potential energy of the system and the forces. The procedure ...
9
votes
2answers
7k views

Use of machine learning in computational fluid dynamics

Background: I have only built one working numeric solution to 2d Navier-Stokes, for a course. It was a solution for lid-driven cavity flow. The course, however, discussed a number of schemas for ...
4
votes
1answer
296 views

OpenFOAM precipitation/crystallisation reaction solver

This question is probably related to chemical engineers that are around this forum. I am looking into writing a solver for a precipitation reaction (struvite to be precise): A+B+C+D <=> E+F A, B, ...
1
vote
2answers
465 views

Estimation of time taken to reach steady state in an MD simulation of Poiseuille flow

I am trying to do a Molecular Dynamics Simulation of a complex fluid, confined between solid surfaces. I would like to find the flow rate as a function of fluid film thickness, $h$, for a plane ...
2
votes
0answers
261 views

Implementation of no-slip boundary conditions in lattice Boltzmann method fluid simulation

My faculty advisor recommended that I take a look at the lattice Boltzmann method as an introduction to scientific computing and potentially an undergraduate honors thesis topic. I cooked up a some ...
3
votes
2answers
61 views

Adding artificial fluctuations to trigger hydrodynamic instabilities.

I'm doing a 2D combustion hydrodynamic simulation and there's a hydrodynamic instability that should be triggered because of the particular physical properties of my system. The key to the instability ...
4
votes
2answers
900 views

How to discretize Burger's equation?

I am trying to solve the very simple one dimensional burgers equation which is: $$\frac{\delta U}{\delta t} + \frac{\delta F}{\delta x} = 0$$ where the flux F of some variable U is defined as$$ F= \...
0
votes
2answers
225 views

3D Divergence-free Stokes equations

I would like to have a divergence-free formulation of the Navier-Stokes equations for creeping flow (a.k.a. Stokes equation, N.-S. without the inertial terms) in 3D, for purposes of tracking particle ...
5
votes
0answers
155 views

Is it generally unstable to use in multidimensional simulations finite difference schemes with higher orders than 2?

I'm part of a team trying to generalize a 1D Advection-Diffussion-Reaction code we inherited by extending it to 2D by using dimensional splitting, i.e. solving advection and diffusion for x and y ...
6
votes
2answers
1k views

9-point stencil finite difference Laplacian with variable diffusion coefficients

So I'm trying to implement a 9-point stencil discretization to the 2D difussion equation. The stencil is here. However, most of the literature deals with a Laplacian that has a constant diffusion ...
4
votes
1answer
128 views

transverse component for multidimensional advection in method of lines

So I inherited from some people a code that solves the advection-diffusion-reaction equation for a particular system. The original code was first implemented in 1D which worked fine in cartesian ...
3
votes
1answer
404 views

Darcy flow finite elements

The Darcy equations for porous media flow are given by: $\frac{\mu}{\kappa}\mathbf{u} - \nabla p = \mathbf{0}$ $\nabla\cdot\mathbf{u} = 0$ where $\kappa$ is the permeability and can in general be ...
1
vote
0answers
365 views

ANSYS Fluent: Defining External Force on a Cell Zone [closed]

I am using ANSYS Fluent 15 to simulate a case of fluid flow. In my case, I have three cell zones in my simulation, let's call them top, middle and bottom. My requirement is to put a vertical constant ...
2
votes
1answer
111 views

CFD turbulence modelling mean pressures vs peak pressures

I have been experimenting with using Autodesk CFD to investigate facade/ cladding pressures on a (rectangular) building, comparing results with cladding/ facades pressures pressures from design codes ...
2
votes
1answer
476 views

What are acceptable boundary conditions for porous media flow?

I am attempting to simulate fluid flow through a porous foam. I would like to have no-slip boundary conditions on part of the boundary and free flow conditions on the inlet and outlet. Right now I am ...
6
votes
3answers
560 views

Fluid-structure interaction solver for cardiovascular applications

I would like to start running FSI simulations for cardiovascular applications. More precisely, I'm interested in the behaviour of aortic valve under physiological flow conditions in which the ...
3
votes
3answers
706 views

Where do I begin learning CFD?

I am working on some CFD codes - generating adjoint of a CFD model, for example. My background however is in computer science. I have absolutely no clue what the model represents or what it is doing. ...
0
votes
1answer
85 views

Visualise data under Tecplot

I have a set of data that I need to visualise under Tecplot, the file format is for example: ...
1
vote
0answers
104 views

Conservation at grid interface in adaptive mesh refinement

I am using adaptive mesh refinement to solve one dimensional inviscid Burgers equation. However I am facing some difficulty to handle grid interfaces which are not uniform (coarse-fine grid interface)....