Questions tagged [fluid-dynamics]

The study of the properties of fluids and gases in motion

Filter by
Sorted by
Tagged with
10
votes
2answers
373 views

Connections between Differential Forms and the second order Finite Volume Method

Reading today about the theory of differential forms, I was left impressed how much it reminded me of second order Finite Volume Method (FVM). I'm struggling to figure out is thinking this way just ...
3
votes
2answers
361 views

Finite element stabilization schemes for incompressible flow

I am looking for an easy to implement stabilization scheme that can be used with equal order ($P_1-P_1$ or $Q_1-Q_1$) finite elements for fluid flow. Is there something like this or should I stick to ...
4
votes
3answers
161 views

nuclear reaction fluid modelling

I'm pretty ignorant regarding the dark arts of numerical codes and modelling, but i'm interested in trying to pursue it for a particular pet project. It regards modelling of nuclear reactions like ...
2
votes
1answer
862 views

Where can I find Ansys Fluent for ubuntu?

I am new to Ansys Fluent (the Ansys CFD product). Is it a windows-only software? My institute owns copies that work on windows only. Online tutorials on how to install Fluent on ubuntu aren't clear.
7
votes
1answer
209 views

Compressible flow through a porous medium with a variable inlet concentration

I'm trying to solve the transient behaviour of a compressible flow through a porous medium (porosity is $\epsilon$) where the fraction of B in A ($ \phi$) changes with time. The equations that I found ...
9
votes
1answer
258 views

Hybrid spatial schemes for CFD: any downside to blending versus switching?

Aside from extra computational cost due to having to compute both fluxes over a certain region, is there any downside to blend two flux evaluations for a hybrid scheme in a finite volume method? The ...
12
votes
2answers
952 views

What are some good data-types for unstructured cell-centered FVM CFD code?

I'm interested in an advice for efficient data structures for cell browsing in unstructured cell-based finite volume CFD. One example that I encountered (in dolfyn cfd code) goes like this (I'll show ...
9
votes
4answers
2k views

Fourier pseudo-spectral method and numerical dissipation

Performing a direct numerical simulation of isotropic turbulence with Fourier pseudo-spectral method (Orzag & Patterson, PRL, 1972) using FFT. For a background of the method, which is widely used ...
3
votes
1answer
148 views

How to add perturbation to a base state in physical grid space?

For study 3D instabilities problem i.e a base state (velocity field and temperature field) and an additional perturbation. The method must be independent of the type of instabilities considered but ...
8
votes
3answers
237 views

How to estimate the impact of small scale on large scale in fluid dynamics?

Assuming that a direct numerical simulation is performed, what is a good method for estimate the impact of small scale on large scale in fluid dynamics ? For example is it pertinent to compare two run ...
5
votes
1answer
7k views

Adjusting the time step dynamically in OpenFOAM?

I'm experimenting with OpenFOAM. In my simulation of a time-dependent, transitional flow the Courant number remains well below 1 for a certain period but then rises, eventually leading to a floating ...
6
votes
2answers
1k views

Transitional flow in OpenFOAM

Is it possible to simulate transitional flow in OpenFOAM? Or, alternatively, does it make sense to use k-epsilon or k-omega model with low Reynolds number? If not, why? What kind of errors would ...
3
votes
4answers
10k views

Estimating the Courant number for the Navier-Stokes Equations under differing Reynolds number regimes

I am familiar with the Courant-Friedrich-Lewy Condition in as far as it applies to the stability of explicit finite difference schemes for standard parabolic and hyperbolic PDEs. However, when ...
8
votes
1answer
2k views

Finite difference coordinate transformation for spherical polar coordinates

I have part of a problem that is described by the momentum conservation equation: $\frac{\partial \rho}{\partial t} + \frac{1}{\sin\theta} \frac{\partial}{\partial \theta}(\rho u \sin \theta) =0$ ...
4
votes
1answer
146 views

Properties of a Shockwave in Fluid Calculations

The comments on the accepted answer of my previous question here have left me with a more general question about accurately capturing shockwaves in fluid calculations. For the sake of having an ...
4
votes
2answers
2k views

Software for 3D Navier-Stokes equation

What is the best software for solving and simulating the 3D Navier-Stokes equation for incompressible laminar non-Newtonian fluid flow?
2
votes
0answers
78 views

Can similarity criterion help reducing calculations in Finite Element Analysis (FEA) problems?

Can similarity criterion help reducing calculations in Finite Element Analysis (FEA) problems? I'm using NX (a thermal and CFD simulation software) to simulate the temperature and fluid field of a ...
5
votes
2answers
236 views

CFD for high-detailed turbulence and non-linear waves

What are typical (or promising) techniques and methods in CFD to achieve high-detailed turbulence and non-linear waves interaction? And with "active" geometry (when bodies interacts with fluid in both ...
5
votes
2answers
4k views

Specifying boundary conditions for imported mesh in OpenFOAM

I have a mesh produced from scanning a real 3D object (I don't have a geometry). What is the most convenient way to specify inlets, outlets, etc. for CFD in OpenFOAM? The mesh consists of thousands of ...
0
votes
1answer
2k views

1d shock tube problem, and the solution [closed]

I have solved 1d shock tube problem. (Euler's equations). Using following steps: 1) Define Riemann problem over the domain 2) Carry out local linearisation 3) Based on linearisation, write eigen ...
8
votes
2answers
4k views

structured grid and unstructured grid

I am new to the field of CFD. When should one go for structured grid and when should one go for unstructured? (Yes, it depends a lot on the geometry of the problem) More specifically, I want to know ...
16
votes
2answers
2k views

(how to) write simulations that run faster?

I have started using python as the programming language for doing all my assignments in CFD. I have a very little experience in programming. I am from mechanical engineering background and am pursuing ...
7
votes
1answer
354 views

Numerical solution of hyperbolic PDEs with nonconvex flux

In some hyperbolic PDEs the flux is nonconvex. One example is equations in magnetohydrodynamics. What are the complications in the wave structures of such problems? What general precautions one should ...
10
votes
2answers
2k views

Euler equations in 2d

As an assignment in college, I did a 1d simulation. The problem statement was to solve 1d shock tube problem involving compressible ideal gas as working fluid. For this problem, I solved system of ...
3
votes
2answers
661 views

Entropy fix for godunov scheme

For non linear system of hyperbolic PDE, The finite volume methods work well (because of inherent conservation). Godunov scheme is a very elegant solution philosophy. For linear system, it is nothing ...
17
votes
2answers
4k views

Disadvantages of common discretization schemes for CFD simulations

The other day, my computational fluid dynamics instructor was absent and he sent in his PhD candidate to substitute for him. In the lecture he gave, he seemed to indicate several disadvantages ...
2
votes
0answers
140 views

Would anyone give some review on adjoint methods in shape optimization method <in fluid dynamics>? [closed]

Modification Is a continuous adjoint approach a reliable/promising method for optimizing the shape of an airfoil under conditions of unsteady turbulence flow? Original Question I saw lots of people ...
8
votes
2answers
1k views

Taxonomy of ILU preconditioners

I learned that for BiCGStab solver for sparse linear systems it's pretty much always necessary to use a preconditioner. I realized by now that choosing a good one is problem dependent. Surfing the ...
6
votes
3answers
1k views

How to quickly implement and test a turbulence model?

What is the best software for quickly implement and test a Reynolds Averaged Navier-Stokes turbulence model ?
20
votes
6answers
14k views

How to get started with OpenFOAM for CFD

I'm looking at using OpenFOAM for solving basic internal flows in CFD. What is the best way to get started, and could anyone please point me to a good online reference to go to with any questions I ...
8
votes
1answer
543 views

Finite difference scheme for compressible nonisothermal flow in porous media

My challenge is to solve the following system of equations, which describe gas combustion in porous media: 1) Continuity $\varepsilon \frac{\partial \rho_g}{\partial t} +\frac{\partial}{\partial x} \...
11
votes
1answer
1k views

Optimal transport warping implementation in Matlab

I am implementing the paper "Optimal Mass Transport for Registration and Warping", my goal being to put it online as I just cannot find any eulerian mass transportation code online and this would be ...
6
votes
3answers
1k views

Is lattice Boltzmann suitable for simulation of incompressible Stokes flow?

We have a flow that is dominated by adhesion forces from the substrate and surface tension from the free surface. The material is nearly solid and at rest first, and gets a bit less solid by heating. ...
6
votes
3answers
4k views

How to find QR decomposition of a rectangular matrix in overdetermined linear system solution?

While trying to find cell-centered gradients in finite volume method computation of incompressible fluid flow I get over-determined linear system. This is a well known "cell based least-square" ...
22
votes
2answers
4k views

A good finite difference for the continuity equation

What would be a good finite difference discretization for the following equation: $\frac{\partial \rho}{\partial t} + \nabla \cdot \left(\rho u\right)=0$? We can take the 1D case: $\frac{\partial \...
5
votes
1answer
780 views

Finite-difference discretization for a convective term

How does one discretize the classical convective term in a transport equation using finite differences? I know the finite volume schemes out ther i.e. upwind, central differencing etc. Are there ...
13
votes
4answers
345 views

How to create a random 3D domain representing a plant's root structure?

I would like to model laminar flow of water from roots to the stem of a plant. At the very end of the roots, the tubes vary from millimeter to centimeter scale in diameter and length. As we get closer ...
3
votes
2answers
425 views

What numerical methods are recommendable for simulating two phase immiscible fluid flow through a pipe with high capillary pressure?

I'm simulating two phase immiscible drainage (air displacing water) in a rectangular domain of size .6mm x 2.4mm (2 dimensions) using Ansys FLUENT software. I am using an implicit Volume of Fluid ...
10
votes
1answer
281 views

Why do we have to rerun the CFD solver for higher Reynolds number?

I started to learn OpenFOAM from the Cavity tutorial which is provided at the web-site. When experimenting with different Reynolds numbers, in section "2.1.8.2 Running the code", tutorial says to ...
4
votes
0answers
292 views

How does one handle the source term in the Shallow Water Equations when using the discontinuous galerkin method? [closed]

I use the discontinuous galerkin method to solve the steady flow 1D shallow water equations with a bump at the bottom. This flow is frictionless. I use the runge-kutta method to approximate the time ...
3
votes
2answers
1k views

Looking for a library or algorithms to perfom clipping 3D unstructured meshes by a set of surfaces

We have a 3D (volume) unstructured, possibly hybrid, degenerative irregular mesh data structure that we are capable of generating (mostly composed of hexahedra and general polyhedra, using a mix of ...
12
votes
3answers
2k views

finite volume method: unstructured mesh vs octree adaptation + cell cutting

I'm working with the OpenFOAM C++ Computational Continuum Mechanics library (it can deal with fluid-solid interaction, MHD flows...) which uses arbitrary unstructured meshes. This was driven by the ...
17
votes
5answers
3k views

Is there a good, easy-to-use, high quality open source CFD solver out there?

My thesis is on developing numerical methods for model reduction in combustion. I run my methods purely on the chemistry part of combustion simulations, and I have plenty of case studies for 0-D ...
6
votes
1answer
530 views

Benchmarking performance in CFD: how to compare machines and codes?

Informally in our lab, we have developed 2 metrics to compare CFD solvers over the range of machines we have access to. One is called COMP, which stands for COde Machine Performance. This single ...
5
votes
2answers
149 views

Which tool/metric do you recommend to evaluate the quality and validity of a Large Eddy Simulation?

The idea behind Large Eddy Simulation is to solve explicitely the scales of the flow that are resolved by the computational grid and to model the sub-grid scales. Ideally, the cut-off between these ...
9
votes
1answer
1k views

What is the most accurate interpolation method for a 3D-flowfield on a structured grid?

I solve multi-species, compressible Navier-Stokes equations on a 3D structured grid. I have obtained a solution on a given grid (let's say a relatively coarse one). I want now to refine my grid and ...
18
votes
4answers
588 views

Which methods can ensure that physical quantities remain positive throughout a PDE simulation?

Physical quantities like pressure, density, energy, temperature, and concentration should always be positive, but numerical methods sometimes compute negative values during the solution process. This ...
12
votes
1answer
422 views

What spatial discretizations work for incompressible flow with anisotropic boundary meshes?

High Reynolds number flows produce very thin boundary layers. If wall resolution is used in Large Eddy Simulation, the aspect ratio may be on the order of $10^6$. Many methods become unstable in this ...
31
votes
4answers
2k views

Why is local conservation important when solving PDEs?

Engineers often insist on using locally conservative methods such as finite volume, conservative finite difference, or discontinuous Galerkin methods for solving PDEs. What can go wrong when using a ...
23
votes
4answers
1k views

When is a high order method useful for computational fluid dynamics simulations?

Many numerical approaches to CFD can be extended to arbitrarily high order (for instance, discontinuous Galerkin methods, WENO methods, spectral differencing, etc.). How should I choose an ...

1
6 7 8 9
10