The study of the properties of fluids and gases in motion

learn more… | top users | synonyms (1)

1
vote
3answers
178 views

2D Stokes equation Code

Does anyone know where could I find a code (in Matlab or Mathematica, for example) for he Stokes equation in 2D? It has been solved numerically by so many people and referenced in so many paper that I ...
1
vote
1answer
33 views

Add User-defined/custom differential equations in OpenFoam (CFD)

I am new to OpenFoam. And I am trying to add a set (user defined) of differential equations to OpenFoam. I want to solve this user defined set of equations at each time point in addition to standard ...
0
votes
0answers
33 views

Can COMSOL solve a fluids problem given complicated N-S forcing terms as the input?

I am very much a novice at COMSOL but after pouring over its documentation, I have yet to build a working fluid model with this method. Here's the background: I am attempting to model a turbulent jet ...
0
votes
0answers
41 views

Help about Fluid-Fluid coupling techniques

I need a little help and advice with a project I want to do: the idea is to "couple" (I don't know whether I can call it like this) a conservative Navier-Stokes Solver (Fractional-step, 2nd order FDM) ...
0
votes
2answers
34 views

The “standard map” and Jupiter's red spot [closed]

Has there been an attempt to "explain" Jupiter's Red Spot via what is known as the standard map in chaos theory? I cannot be the first to notice the visual similarities...       ...
0
votes
0answers
20 views

Computational time in fluent using PBM+REACTION

I am having a problem of huge computation time. My system is a reaction, nucleation and growth. Time step i have taken is 10^-6 sec. it takes 10 minutes to reach 10^-2 sec. It will nearly take 70 ...
1
vote
2answers
93 views

How to interpret/convert density in 2D simulations?

Density has units of $kg/m^3$. In simulations often scaling is done to deal with non-dimensional values, so the physical density is converted to the non-dimensional density so that it can be used in ...
1
vote
1answer
39 views

Value of density when there are no or very few neighbours in SPH simulation

Sorry for the noob question. I am trying to implement SPH using the directions shown in this paper. The density needs to be updated using the formula The smoothing kernel is If there are no ...
2
votes
2answers
141 views

Manufactured solution for pressure based 3d incompressible Navier-Stokes solver with wall boundaries

I already successfully verified my solver (SIMPLE-type FVM-method) with the following manufactured solution (3d Taylor-Green vortex) on the solution domain $[-1,1]^3$ with Dirichlet boundary ...
0
votes
1answer
131 views

How to solve Energy Balance equation by numerical method

Good Day I am new to heat transfer technique please give me some suggestion on solving energy balance equation $$a \frac{\partial T_p}{\partial t}=\frac{\partial}{\partial x}\left(b\frac{\partial ...
1
vote
2answers
100 views

How to prove the strong formulation for Discontinuous Galerkin is conservative?

I've been trying to figure out how to prove that the following equation is conservative $$\int_{D^k} \partial_t(u^k) v_j^k + \partial_x(f) v_j^k dx = [(f -f^*) v^k_j]_{x^k}^{x^{k+1}}$$ where $v_j^k$ ...
2
votes
0answers
79 views

Arbitrary Choosing of the Solution Domain - Navier Stokes and Manufactured Solutions

I want to verify a finite-volume solver (SIMPLE-Algorithm) for the incompressible Navier-Stokes equations by using a manufactured solution. I use Dirichlet boundary conditions for the velocity at all ...
4
votes
3answers
116 views

Variable viscosity Stokes equation

One very efficient way to solve Stokes equation with periodic boundary conditions \begin{equation} -\eta \nabla^{2} \bf{v} + \nabla p = f \\ \nabla \cdot \bf{v} = 0 \end{equation} is using the ...
3
votes
2answers
307 views

Solution blows up when using Runge-Kutta to solve simultaneous ODEs for liquid film equations

This is a continuation of a problem I asked over at physics exchange and math exchange. Basically I have two ODEs that I am solving in order to calculate the radial and tangential velocity of liquid ...
2
votes
1answer
130 views

What's the difference between grid-based and mesh-based methods for PDEs?

I am into computational fluid dynamics and so far I've found that the most common approaches to solve for the governing equations are Eulerian and Lagrangian. The former samples the domain at fixed ...
3
votes
1answer
55 views

Zero-k mode in Pseudo-spectral solution of Stokes Flow

I'm trying to solve a Stokes flow problem with a pseudo-spectral method in periodic boundary conditions. The equations of interest are $-\nabla^2 \bf{v} + \nabla p = \bf{f} \\ \nabla \cdot \bf{v} = ...
5
votes
1answer
112 views

ENO/WENO component-wise vs characteristic-wise

Can someone give some references to understand what's the differences between a component-wise and a characteristic-wise ENO scheme? If I'm right, the characteristic variables come from the ...
2
votes
2answers
82 views

Expected computational time for DNS computation of fluid flow

Using an established criterion involving capturing eddies down to the Kolmogorov length scale it can be reasoned that the order of grid points in the computational mesh needs to be $N^3 \ge Re^{9/4}$ ...
2
votes
1answer
226 views

Finite Element integration with tensor notation

While I was studying discontinuous finite element methods I found an integration of a Navier Stokes equation using tensorial notation. The equation is the following: $\mathbf{\bar {u}}_{t} + ...
2
votes
0answers
103 views

Finite Volume/difference scheme for 2d continuity equation

I am trying to solve the following 2D continuity equation on the rectangular domain [0,1]x[0,1] using the finite volume method. $\rho_t + \nabla \cdot (\rho v) = 0$ where the velocity $v =(v1,v2)$ is ...
0
votes
3answers
112 views

What Is The Intersection Between CFD and Computer Science

What Is The Intersection Between CFD and Computer Science... And.. How hard would it be to undertake a PHD in CFDs after an undergrad and masters in CompSci Many Thanks....
2
votes
2answers
87 views

Can the conservative form of the advection equation be re-written by replacing the velocity term with an integral over all other points in space?

Suppose I have a 1D advection equation in conservation (divergence) form $\partial_t u(x,t) = -\partial_x [v(x)u(x,t)],$ where $u$ is a conserved quantity in space, and $v$ gives the velocity of the ...
0
votes
0answers
52 views

Comsol - Make an stl file a domain for CFD

I need to do a CFD simulation with Comsol. I have an STL file with a mesh describing the surface of an object on which I would like to do some fluid dynamics simulation. As far as my understanding ...
1
vote
1answer
71 views

Finite Volume Method flux integration

I was reading through this document about FVM. I understood all up to the point where we have on page 15 the following $$(\bar u^{n+1}_i - \bar u^n_i) \Delta x + \int^{t^{n+1}}_{t^n} ...
1
vote
1answer
161 views

What kind of test cases are convenient to use for testing the code for Euler equations of gas dynamics in polar coordinates?

Consider Euler equation of gas dynamics in polar coordinates as $$ \left( \begin{array}{ccc} \rho \\ \rho u_{r} \\ \rho u_{\theta} \\ E \end{array} \right)_{t} + \frac{1}{r} \left( ...
0
votes
1answer
80 views

CFD: Mesh problem [closed]

I wish to study the 2D heat transfer of the soda can using Fluent. For my geometry I took a circle. My problem while meshing the circle; Because i need to mesh it from inside. I used the mapped faced ...
1
vote
0answers
104 views

Two Dimensional Nozzle Flow

I've been looking at the book "Computational Fluid Dynamics - The Basics With Applications", by John D. Anderson, and his solution for the one-dimensional subsonic-supersonic nozzle flow using the ...
2
votes
1answer
64 views

Trignometric/Fourier spectral collocation with zero Dirichlet BC in 2D

I am concerned with numerical solution to the following problem on $[0,1]\times[0,1]$. $\dfrac{\partial\theta}{\partial t}+u(x,t).\nabla \theta(x,t)=\kappa \nabla^2\theta(t,x)$ with Dirichlet ...
1
vote
2answers
348 views

Fluent time step size (transient implicit solver)

I am studying fluid-structure interaction across integrated circuits packaging by using Ansys Fluent (I'm a beginner). Currently I had an issue about the time step size. When I set time step size of ...
2
votes
0answers
80 views

Euler Equation Eigensystem with Gravity in the Energy Flux

I am modifying a conservative form of the Euler equations with gravity in the energy flux (see previous question: Energy Conservation in Conservation Laws with Source Terms) for use in a Riemann ...
0
votes
0answers
23 views

LBM for thermal anlysis

Can Lattice-Boltzmann methods be used for thermal analysis of radiation or conduction? (Hints for papers and libraries are highly appreciated.)
3
votes
2answers
158 views

How to set up a shock tube problem such that the solution includes a shock with a specified Mach number

One of the famous and convenient test cases for shock wave modeling is the 1D Sod's shock tube. This is a Riemann problem for the compressible Euler equations of gas dynamics. The initial set up has ...
5
votes
3answers
170 views

Test Case with Known Solution for 3D Navier Stokes Equations

Is there a test case for 3D incompressible Navier Stokes Equations like the Taylor vortex in two dimensions? I know, I can easily construct 3D manufactured solutions but I would like to have ...
1
vote
2answers
74 views

Nondimensional gas constants

I am doing a nondimensional Navier-Stokes simulation, but it's not exactly clear what values to use for the various gas constants: $R$, $C_v$, and $C_p$. Obviously, once I know one of these and ...
1
vote
0answers
51 views

Compute drag force on a mesh in SU2 CFD (beginner) [closed]

I am a complete beginner in computational fluid dynamics. I have a 3D mesh in Blender representing the object I would like to do my tests on. I can export it in (I think) any useful format for 3D. I ...
0
votes
0answers
14 views

Convergence criterion for overset grids

If there are two overset grids, how do you decide whether convergence is reached or not? What I did was, after interpolating from one grid to another, I check the rms of conservative variables and if ...
4
votes
3answers
346 views

What are the differences between CFD simulations and realistic ocean/atmosphere model simulations?

The field of computational fluid dynamics (CFD) is dedicated to solving the Navier-Stokes equations (or some simplification of them). A subset of CFD, ocean and atmospheric models numerically solve ...
3
votes
1answer
74 views

Deriving entropy function and entropy flux for a system of equations

I've been reading up on the concept of entropy as a useful way of developing a natural residual for a system of equations. For example, the entropy function for compressible Navier-Stokes is ...
2
votes
1answer
173 views

Energy Conservation in Conservation Laws with Source Terms

I'm wondering if anyone can help me understand energy conservation when using conservation law methods (i.e. Riemann solver, High-Resolution Wave-Propagation Methods) with the addition of source ...
1
vote
1answer
401 views

Patankar's algorithms for Numerical Heat Transfer and Fluid Flow

I am looking for the algorithm of Patankar (for example, SIMPLE, SIMPLER, SIMPLEC and PISO) written in Fortran for the simulation of heat transfer and fluid flow.
0
votes
1answer
77 views

jump conditions for Poisson/Darcy equation in primal form versus mixed form

Consider the Darcy equation, $$\mathbf{v} + \dfrac{k}{\mu_0}\nabla p = \mathbf{f} \\ \mathrm{div}\; \mathbf{v} = 0$$ If the coefficient $k$ is piecewise constant across an interface $\Gamma$ in the ...
5
votes
1answer
184 views

Is there a jump condition for this PDE? ( Brinkman model , piecewise constant permeability)

The Brinkman equations for steady flow of an incompressible fluid through rigid porous solid are: $-\dfrac{\mu_0}{k}\mathbf{v} - \mathrm{grad}p + \mu_0 \Delta \mathbf{v} =0$ and ...
2
votes
2answers
83 views

Simulating interaction of Smart Fluids with Solids

Is it possible to simulate interaction of Smart Fluids with Solids? Is there a software capable of doing so? What I Know: The two software that I know of are Autodesk Simulation Mechanical and ...
2
votes
0answers
103 views

How to get proper parameters of SPH simulation?

I'm implementing basic fluid flow simulator using SPH method basing on e.g. https://www10.informatik.uni-erlangen.de/Publications/Theses/2010/Staubach_BA10.pdf. So far I've implemented: uniform ...
4
votes
2answers
222 views

Projection Method: Boundary condition on intermediate velocity field

I'm trying to solve variable density and viscosity Navier-Stokes equation using lagged pressure projection method. I'm solving for cavity problem as a test case now (once I get projection right, I ...
0
votes
1answer
56 views

FEM with soil slope

I what to calculate displacements, stress and strain in a soil slope with a FEM script. The slope moves like a laminar flow. Can you suggest me some bibliography on this problem? I've already look on ...
3
votes
1answer
166 views

Finite Elements Weak Formulation generalization

I am struggling with an equation that represents the Weak form of Galerkin method: $ \phi^{T}F(\textbf{u})\sim \int_{\Omega}^{ } \phi.f_{0}(\mathit{u},\nabla \mathit{u}) + ...
2
votes
1answer
183 views

Organizing a CFD program written in python

I've spent some time writing a spectral element solver aimed at solving fluid flow problems concerning the motion of self-propelled bodies. I've gotten to the point where the code has grown long ...
4
votes
3answers
166 views

vector PDEs on manifolds

What are the subtleties involved in solving vector PDEs on manifolds? Can someone suggest a reference summarizing the problems involved? Specifically I want to solve a vector Helmholtz equation with ...
2
votes
2answers
250 views

CFD absractions in Modern Fortran

I'm a novice in object-oriented programming, but this design technique seems very interesting for me. I have a Fortran 90 CFD package , not very complex, but it is already very hard to maintain and to ...