Questions tagged [fluid-dynamics]

In physics, fluid dynamics is a subdiscipline of fluid mechanics that deals with fluid flow—the natural science of fluids (liquids and gases) in motion.

146 questions
1
vote
2 answers

Modelica.Media.R134a Error

In the Modelica Standard Library 3.2.1 a model for the refrigerant R134a was included, but it seems not to work properly with Modelica.Fluid. In a simple example with one DynamicPipe, it results in the following error: A calculation of two-phase…
0xy
  • 29
  • 5
1
vote
2 answers

Inside boundaries

I'm using this article to write a fluid simulation application. I can't manage to implement the inside boundaries. As far as i know when I'm setting the boundaries (in the set_bnd function) for each cell that is inside the boundary I should…
Chavdar Slavov
  • 865
  • 8
  • 22
1
vote
1 answer

What repulsion direction do we use for Smoothed Particle Hydrodynamics when radius is 0?

When doing SPH, the paper by Kelagar recommends using a particular kernel for pressure induced forces between particles. The kernel it recommends is the following when the radius is within the kernel radius: (15/(pi*h^9)) * (h - r)^3 where h is the…
1
vote
1 answer

Hydrodynamics on cellular automata (FHP, etc)

I am looking for CA-based fluid dynamics software like this Implementation of FHP model in Nvidia CUDA technology, but still no luck. I want to "play" with those simulations myself and at least read some related papers. It is even better, if…
Mixo123
  • 71
  • 1
  • 8
0
votes
0 answers

Cavity two fluid Flow - Python? OpenFoam

I am trying to attack a personal project to simulate a channel flow that has a cavity. Inside the cavity there is a fluid stationary. At some instant, another fluid (miscible in the first one) starts to flow. I am reading about typical cavity flow…
petesing
  • 13
  • 3
0
votes
0 answers

Pressure ratio vs Friction and other geometric factors

The problem I am facing consists of plotting the graph I attach, only the discontinuous lines at the moment. . For that purpose I need to take into account these equations: . Before starting explaining the process, there is one constant, gamma=1.4,…
0
votes
0 answers

Flow over a "finite" flat plate in CFD

I am trying to simulate the turbulent, transient flow of water over a vertically oriented flat plate that has finite length and depth in ANSYS Fluent. This simulation aims to focus on what is happening within the boundary layer, so after using ANSYS…
WnGatRC456
  • 337
  • 1
  • 2
  • 12
0
votes
0 answers

Problem in mesh grading BlockMeshDict OpenFOAM

I created a mesh for a flow around a cylinder, and I want now to refine the mesh near the cylinder wall. I tried to do this by mesh grading, but when I run blockMesh I get this Error: Create time Creating block mesh from…
0
votes
0 answers

I cant seem to convert the matlab to code to python. I am getting wrong results. There is something wrong with my for loops

Matlab clear all close all clc n=30; epsi=1e-6; nn=[0 5 10 20 30 40 60 100 500]; oo=[1.7 1.78 1.86 1.92 1.95 1.96 1.97 1.98 1.99]; omega=interp1(nn,oo,n); % Interpolating a reasonable…
Wildfarao
  • 1
  • 2
0
votes
0 answers

fluid dynamics and comsol alternatives

I'm trying to do simulation in fluid-dynamics, particularly for free convection. I used to know comsol-multiphysics, but now I no longer have access. Are there comparable packages, if possible octave-compatible? Of course I also used the Google…
Cisfinite
  • 101
0
votes
0 answers

How do you transfer velocities from particles to grid in PIC methods?

I am trying to implement a simple 2d fluid simulation using the PIC method. To that effect I was following ten minute physics video tutorial. I hit a wall on this part of the video: https://youtu.be/XmzBREkK8kY?t=478 What I don't understand is. In…
Makogan
  • 8,208
  • 7
  • 44
  • 112
0
votes
0 answers

blockMesh Error during Meshing using OpenFOAM because of the boundary

I am trying to generate a mesh for a flow around a cylinder to model turbulence. Basically, a cylinder inside a rectangle. The problem is, with the right wall boundary (line number 215) in blockMeshDict. I cannot understand why it doesnt work…
0
votes
0 answers

Converting XYZ and diameter to cylinder shape with .OBJ

In the below image, I have coordination of central point of each data point and dimeter at that point. I need a code or algorithm to convert these data to 3D object in .obj format automatically. points. Object is always a cylindrical shape. final 3d…
Sia
  • 13
  • 4
0
votes
1 answer

Why does this simulation "explode"?

I am attempting to simulate a steerable vehicle (plane, hovercraft, boat) in a fluid (gas or liquid, e.g. air or water). My JavaScript implementation is based on the 3D rigid body airplane simulator from Physics for Game Developers ported to…
0
votes
1 answer

Detect Fluid Pathlines in Images

I have several thousand images of fluid pathlines -- below is a simple example -- and I would like to automatically detect them: Length and position. For the position a defined point would be sufficient (e.g. left end). I don't need the full shape…
Suuuehgi
  • 4,547
  • 3
  • 27
  • 32