The study of the properties of fluids and gases in motion

learn more… | top users | synonyms (1)

3
votes
1answer
51 views

Continuous vs discontinuous pressure elements in fluid flow problems

When solving fluid flow problems using finite elements you typically end up requiring that $p\in L^2$. For Darcy flow problems, a popular choice of elements is the Raviart-Thomas element and ...
0
votes
0answers
33 views

PDE discretization (via finite difference sheme) question

So after posting this question and reading all your comments I would like to make this new question (update). If you consider the three equations presented here: $$\frac{\partial \rho}{\partial t} ...
0
votes
0answers
54 views

Calculate fluid speed in a conduit with obstacles

I need some advices to start to solve some problems about fluid motion in a conduit. The problem domain is shown below: a conduit with some obstacle of different geometric properties. The fluid ...
6
votes
1answer
129 views

A simple PDE solution question

I need to ask a question about partial derivatives. I want to solve this equation (steady state, one dimensional continuity equation): $$\frac{\partial (\rho u)}{\partial z}=0$$ which is equivalent ...
0
votes
1answer
48 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).
3
votes
1answer
102 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
140 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
69 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
0answers
71 views

how can i show flow is incompressible?

How can I understand the flow is incompressible or not with this information at 4 edges?
0
votes
0answers
44 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 ...
8
votes
4answers
189 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
0answers
28 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 ...
3
votes
0answers
65 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 ...
0
votes
0answers
46 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 ...
0
votes
0answers
50 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
28 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 ...
3
votes
1answer
114 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 ...
2
votes
0answers
46 views

an ideal fluid in a reservoir

Let us imagine that we have an ideal fluid in a reservoir, not full, which means there is a free surface of an ideal fluid on top, this reservoir makes no movements. This problem mathematical ...
1
vote
2answers
96 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 ...
1
vote
2answers
82 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
73 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 ...
1
vote
2answers
71 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
68 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
25 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 ...
2
votes
1answer
78 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
71 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 ...
1
vote
0answers
30 views

Transient manufacturated solution

I'm using the method of manufacturated solution (MMS) to verify a cfd code (Transient energy equations). The equations are discretised with an implicit scheme and allow large time step without any ...
3
votes
1answer
186 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} = ...
0
votes
0answers
41 views

Comsol Solver settings for transient fully coupled FSI

I have been struggling to model a transient fully coupled 2D fluid structure interaction. To start with, I tried to redo a published case. It consists of the following settings: Implicit ...
4
votes
2answers
123 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 ...
0
votes
0answers
61 views

Problem with AMI, pimpleDyMFoam in Openfoam

I am running the centrifugal pump using pimpleDyMFoam. Case is running but it is not satisfying Mass conservation. That is flow rate at inlet and flow rate at outlet are different. Flowrate at outlet ...
1
vote
1answer
61 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
140 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
120 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 ...
1
vote
0answers
37 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
105 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
108 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?
2
votes
2answers
97 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 ...
0
votes
0answers
37 views

Is this mesh refinement procedure correct?

Hello, I am using the following coarse mesh of size 7. I am integrating using the control-volume approach in which I use difference between the fluxes at the edges of CV. As you can see that in the ...
2
votes
0answers
105 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 ...
-2
votes
2answers
505 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 solution for lid-driven cavity flow. The course, however, discussed a number of schema for ...
4
votes
1answer
126 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
70 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
78 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
57 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
164 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
0answers
39 views

Tube with cylinder inside in OpenFoam

There is a solid irregularly shaped cylinder inside a tube. Fluid flows through the irregularly shaped tube and the cylinder. In other words, the radii of tube and cylinder are not constant. One end ...
0
votes
2answers
98 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 ...
3
votes
0answers
75 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 ...
5
votes
2answers
210 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 ...