/r/CFD
Computational Fluid Dynamics (CFD)
This is a subreddit for discussing CFD. Posts consisting solely of advertisements for CFD products or services are not welcome.
Monthly Discussions
https://www.reddit.com/r/CFD/wiki/index
References/Useful links
Other great subreddits
/r/CFD
Hi guys, I would ask you in a fluid simulation would you choose as reference a better spatial resolution refining properly the mesh or given a nice mesh accordingly decreasing the time step? Ofc having a finer mesh and time step is desiderable, but in some cases decreasing too much the time step is bringing my simulation from half an hour to 3-4 hours and what i noticed in a x8 computing time is only some details in the dynamic of the fluid (laminar flow) but no changes in values like speed, vorticity etc.. i assume in turbolent flow time step will impact heavly the final results instead not so much in laminar, what's your tought?
Hi all,
I am trying to generate an unstructured mesh for my airfoil with periodic boundary condition in the spanwise direction. Whenever I try to generate my mesh I get the following: " Cannot find periodic counterpart of node 6 of curve 1002 on curve 1". Kindly, could someone help me to fix this up ?
// NACA 0012
Mesh.MshFileVersion = 2.0;
//Mesh.ElementOrder = 6;
//Mesh.SecondOrderIncomplete = 1;
//Mesh.SaveAll = 0;
//Mesh.CpuTime = 1;
//Mesh.RecombinationAlgorithm = 3;
Geometry.Tolerance=1e-15;
//Mesh.Smoothing=1000;
// NACA5012 Aerofoil Shape and Spline fit
//Suction Side Points define a different characteristic length for suction side and pressure side
ss_lc = 0.005;
Point(1000) = { 0.99591000, 0.00228000, 0.00000000, ss_lc};
Point(1001) = { 0.98332000, 0.00530000, 0.00000000, ss_lc};
Point(1002) = { 0.96256000, 0.01018000, 0.00000000, ss_lc};
Point(1003) = { 0.93397000, 0.01672000, 0.00000000, ss_lc};
Point(1004) = { 0.89801000, 0.02463000, 0.00000000, ss_lc};
Point(1005) = { 0.85526000, 0.03361000, 0.00000000, ss_lc};
Point(1006) = { 0.80644000, 0.04331000, 0.00000000, ss_lc};
Point(1007) = { 0.75236000, 0.05339000, 0.00000000, ss_lc};
Point(1008) = { 0.69393000, 0.06349000, 0.00000000, ss_lc};
Point(1009) = { 0.63212000, 0.07325000, 0.00000000, ss_lc};
Point(1010) = { 0.56799000, 0.08233000, 0.00000000, ss_lc};
Point(1011) = { 0.50264000, 0.09037000, 0.00000000, ss_lc};
Point(1012) = { 0.43719000, 0.09706000, 0.00000000, ss_lc};
Point(1013) = { 0.37278000, 0.10208000, 0.00000000, ss_lc};
Point(1014) = { 0.31051000, 0.10521000, 0.00000000, ss_lc};
Point(1015) = { 0.25148000, 0.10627000, 0.00000000, ss_lc};
Point(1016) = { 0.19674000, 0.10519000, 0.00000000, ss_lc};
Point(1017) = { 0.14722000, 0.10201000, 0.00000000, ss_lc};
Point(1018) = { 0.10381000, 0.09684000, 0.00000000, ss_lc};
Point(1019) = { 0.06726000, 0.08992000, 0.00000000, ss_lc};
Point(1020) = { 0.03818000, 0.08151000, 0.00000000, ss_lc};
Point(1021) = { 0.01707000, 0.07189000, 0.00000000, ss_lc};
// This is the leading edge
Point(1022) = { 0.00000000, 0.05000000, 0.00000000, ss_lc};
//Pressure Side
ps_lc = 0.005;
Point(1023) = { 0.01700000, 0.02808000, 0.00000000, ps_lc};
Point(1024) = { 0.03794000, 0.01835000, 0.00000000, ps_lc};
Point(1025) = { 0.06672000, 0.00963000, 0.00000000, ps_lc};
Point(1026) = { 0.10283000, 0.00209000, 0.00000000, ps_lc};
Point(1027) = { 0.14567000, -0.00415000, 0.00000000, ps_lc};
Point(1028) = { 0.19450000, -0.00902000, 0.00000000, ps_lc};
Point(1029) = { 0.24852000, -0.01252000, 0.00000000, ps_lc};
Point(1030) = { 0.30681000, -0.01473000, 0.00000000, ps_lc};
Point(1031) = { 0.36841000, -0.01581000, 0.00000000, ps_lc};
Point(1032) = { 0.43228000, -0.01596000, 0.00000000, ps_lc};
Point(1033) = { 0.49736000, -0.01537000, 0.00000000, ps_lc};
Point(1034) = { 0.56253000, -0.01428000, 0.00000000, ps_lc};
Point(1035) = { 0.62670000, -0.01287000, 0.00000000, ps_lc};
Point(1036) = { 0.68876000, -0.01128000, 0.00000000, ps_lc};
Point(1037) = { 0.74764000, -0.00964000, 0.00000000, ps_lc};
Point(1038) = { 0.80232000, -0.00801000, 0.00000000, ps_lc};
Point(1039) = { 0.85184000, -0.00646000, 0.00000000, ps_lc};
Point(1040) = { 0.89535000, -0.00503000, 0.00000000, ps_lc};
Point(1041) = { 0.93206000, -0.00377000, 0.00000000, ps_lc};
Point(1042) = { 0.96132000, -0.00271000, 0.00000000, ps_lc};
Point(1043) = { 0.98261000, -0.00192000, 0.00000000, ps_lc};
Point(1044) = { 0.99554000, -0.00142000, 0.00000000, ps_lc};
Point(1045) = { 0.99987000, -0.00125000, 0.00000000, ps_lc};
// NACA aerofoils have the trailing edge undefined - so we make one up
Point(1046) = { 1.005, -0.0005, 0.00000000, ps_lc};
// Put a Spline fit through the appropriate points - note that we could
// also use BSpline but you end up with a different shape
Spline(1000) = {1000:1046,1000};
Compound Curve{1000};
// This results in a spline that represents a NACA5012 aerofoil, it is not
// the best representation as the point density around the leading edge especially
// is a bit rough but it is good enough to be going on with
// Now add in points to max a box.
edge_lc = 0.2;
Point(1100) = { 5, 4, 0, edge_lc};
Point(1101) = { 5, -4, 0, edge_lc};
Point(1102) = { -5, -4, 0, edge_lc};
Point(1103) = { -5, 4, 0, edge_lc};
Line(1) = {1100,1101};
Line(2) = {1101,1102};
Line(3) = {1102,1103};
Line(4) = {1103,1100};
//Having defined all the lines used for the geometry Spline(1000) is the aerofoil and
// Line(1) to Line(4) are the edges we now tell gmsh how they are related
// Create a boundary
Line Loop (1) = {1,2,3,4};
// Tell gmsh the Spline should also be a line loop
Line Loop (2) = {1000};
// Combine the two into a surface, gmsh makes a hole automagically
Plane Surface(1) = {1,2};
//+
Transfinite Curve {3, 4, 2, 1} = 50 Using Progression 1;
// We need to extrude the surface so that the mesh is 3D for OpenFOAM
Extrude {0, 0, 1} {
Surface{1};
Layers{10};
Recombine;
}
//Transfinite Surface "*";
//Recombine Surface "*";
Physical Surface("periodic",4) = {1,1027};
Physical Surface("top",100002) = {1022};
Physical Surface("exit",3) = {1010};
Physical Surface("bottom",100004) = {1014};
Physical Surface("inlet",100005) = {1018};
Physical Surface("aerofoil",100006) = {1026};
Physical Volume("internal",100007) = {1};
Mesh 3; //+ Volumetric mesh
Periodic Surface {1027} = {1} Translate {0, 0, 1};
Hello.
I am simulating a supersonic flow inside a converging-diverging nozzle with non-equilibrium condensation model. For validation purposes, I am trying to validate the model comparing the results with experimental data from Moses and Stein (1978) and numerical data Yang et al. (2017). The CD nozzle was built using a 2D simplification.
I am using the following models: Coupled Energy; Coupled Flow; DMP; RANS k-e; Steady Solution; Multiphase Interaction. For simulating water vapor, I selected IAPWS-IF97.
In DMP phases, I have created a discrete phase following the configurations: Liquid, Constant Density, Two-way Coupling, Flow Model, Segregated Fluid Temperature and Discrete Quadrature S-Gamma.
In Multiphase Interaction, I have selected the following models: Drag Force (Schiller Naumann), Interaction Length Scale, Multiphase Material and Non-Equilibrium Condensation.
At inlet and outlet, the volume fraction of the discrete phase is zero. That is because I am trying to simulate an homogeneous condensation, where the particles are formed inside the nozzle when the properly conditions are achieved.
At first, the simulation was not converging at all. After a while, I changed the Sauter Mean Diameter in Initial Conditions inside DMP model to a smaller value, and the simulation converged. Also, in Interaction Length Scale I choose the Sauter Mean Diameter. Although I got convergence, the results are not what I expected to be. The nucleation rates are higher than expected and it happens later inside the nozzle. Comparing the results with the paper from Yang et al. (2017):
By studying different materials and reading both physics simulations and theory manuals of Simcenter Star-CCM+, I undestood that the particles are formed when specific conditions of the flow are achieved. When the flow reaches these conditions, the critical radius r* is achieved and the growth process begins.
So, if the particle radius is given by this r* (which is calculated by using flow properties) and after that by the growth model, why do I have to choose a Sauter Mean Diameter? What is the order of the value I should use there? And why it has so much impact in the simulation?
Hi!
I want to simulate blood and contrast agent through a simple straight vessel. In Fluent setup I have created both blood and contrast as separate materials and the created a blood_contrast mixture which includes both of these species. However, when I look at the inlet boundary conditions blood is the only species present even though the mixture has been selected as the material. I have attached a couple images which may support my explanation.
I would really appreciate any help on what I may be doing wrong :) Thank you in advance!!!!
As part of a heat transfer course at my university, we were tasked with designing heat sinks. I chose to go slightly more advanced and try to optimize the heat sink to be as light as possible. I wanted to validate my analytical calculations and implementation into my code by doing CFD. When I did so it was a lot colder than I expected. I then decided to do a simple flat plate to check the simulation was accurate and it was also about 20C cooler than anticipated (the analytical solution from the textbook and professor both said it should be 70C but CFD converged to ~50C).
I did this using LES for my turbulence model, with most of the model parameters in second order (particularly energy terms), and had an energy and heat balance requirement for convergence of 0.1%. I used the full buoyancy model (as opposed to the Boussinesq approximation) as the flow was entirely due to natural convection. The heat sink was very small 40x40x20mm if that matters. I used Siemens Simcenter 3D Thermal-Fluid Simulations Software. Does anyone have any suggestions about why the CFD was so much cooler than the analytical estimation?
As part of a design challenge, we designed a prosthetic arm for pro cyclists. One aspect not tested heavily is if using aerodynamic devices on the arm shell could provide any benefits. This exercise has taught me 3 things:
- An airfoil arm does give sizable benefit to drag coefficient along the arm as it reduces vortex shedding by forcing the flow to stay attached as much as possible
- The body and head of the cyclist will produce most drag anyway
- 15 million cell mesh on only a 16GB RAM laptop is a bad idea 😂😂😂
Tried to include some colorful CFD images as well:
BASELINE
Geometry and Isosurface (colored in velocity) for baseline case
Airfoil Arm
I want to simulate an operation where 2 gases are separated on passing through a filter due to porosity difference. How do i simulate that
Hi everyone,
I am currently using ANSYS Fluent to conduct simulations on a particular problem. The fluid flow through a tube (20 mm in diameter and 100 mm in length) with a obstacle in it, and the small cavities on the bottom are pressure tapping points. The highest point of the obstacle ranges from 0.5 mm - 19.5 mm with 0.5 mm intervals. I plotted the pressure I obtained from pressure point A and B on separate graphs, and found that the results follow good pattern except for when the obstacle size is 10 mm. I tried different methods and ruled out the possibility of this being a physics problem. I think it has something to do with the software and the fact that the obstacle is exactly half of the tube. Do you guys know what could potentially be causing this?
I'm trying to optimize flow through a rocket nozzle, and I want to analyze how different converging and diverging angles affect the thrust generated.
Is there a way to run this quickly in ANSYS? Or do I have to change the angle in the sketch, mesh it and then run the solution again and again.
Any tips would be appreaciated, thank you :)
Hi, I've conducted a study of the affects of angle of attack on the coefficients of an aerofoil to compare against experimental data, both lift and drag appear more or less as would be expected, however, my moment coefficient is the 'mirror' of what I would expect based on my experimental data I am comparing to, i.e. there is a slow decrease in pitching moment in my CFD, meanwhile my experimental data suggests there should be a progressive increase in Cm. I was hoping someone could help me to understand why this may be the case and whether I am missing something obvious.
Many thanks for any help
Hello all. I have been quite an active member of this sub for quite some time, and have held discussions with people on multiphase flows, compressible flows and meshes in general. This is application time for the US and the UK, and I have been in a state of self-doubt for quite some time now. Please help me and give me a reality check.
During my Masters' thesis, I worked on developing solvers for single phase and multiphase compressible flow problems. From reading books and papers, I have coded quite a few solvers ground up. Examples include convergence based analytical Riemann solver, Rusanov, HLL and HLLC schemes, and higher order variants using MUSCL Hancock Method with a choice of slope limiters, which is simultaneously second order space and time accurate.
In multiphase, I have used variants of the same schemes in a VOF setup. Volume fraction was chosen because mass fraction, to my understanding, forces an instant mixing and equilibrium between the fluids within the control volumes and if the fluids are very disparate in properties, it can lead to large oscillations in adjacent cells within a few time steps. Volume fraction allows different fluids to attain different temperatures, phase velocities and pressures within the same control volume. For closure, Stiffened Equation of State was used for all fluids.
We have further experimented with DEM (Discrete Equations Method) for the interface velocity to be calculated from the formulation of a contact discontinuity speed, but with the properties of two pure fluids on either side of the interface. This has led to 50% drop in L2 norm in density, and using MHM, another 33% drop in the error.
I have not seen seven equations model (which I worked with) being used in most practical problems or solvers, plus HLL has been preferred in most of these studies. DEM is again such a powerful tool, which albeit with a bit more computational costs, leads to a massive increase in accuracy. So I would love to explore this avenue, and hence solve some practical problems with the aforementioned methods.
We got a humble poster presentation at a national conference this year for this work (I was the first author).
I have also made the solvers faster by many orders of magnitudes, when compared to established solvers used in our lab. It has mainly been due to vectorisation. For a scalable solver like mine, which should adapt to not just cells but number of ghost cells as well so that higher order accuracy models can be easily included, vectorisation was not exactly easy because of its sensitivity to indexes and array sizes. But I was able to generalise the process pretty well. My explicit loops in total, for a multiphase problem with velocity and pressure relaxations is THREE. That is it. As the dimensions of the problems increases, processes like primitive to conservative variables conversion and vice versa scale even better, because of the aforementioned loop-less SIMD method.
I am sure there are many such techniques to explore, and applied to unstructured meshes especially, which are infamous for being hard to parallelise. Reduced ordered methods is another umbrella whose shade I have not entered yet.
Two other avenues I want to explore are turbulence, and use of PINNs. There are some problems with LES that I won't like to discuss in public, because its a gaping hole I have not seen most researchers address, but it is an important one. With PINNs, we can leverage a lot of experimental and numerical data we have over all these years, and use these to train models to a.) extrapolate lower order solutions to higher orders and b.) solve problems in compressible flows and turbulence. There is a massive potential with feature engineering here, activation functions, equations of states and the structure of the neural networks themselves.
I have taken course on Turbulence from an OG in the field of turbulence, a former student of Pope. Some of my course instructors and LOR writers are alumni of UIUC, Princeton, Purdue + CTR (Stanford).
My bachelors and masters have been done from the ivy equivalents, T10 schools in India. My undergrad GPA is a bit low, around 2.967, but my postgrad GPA is 9.34/10, which should be equivalent to 3.96/4.0.
I have done really well in some related coursework, on CFD, ML and its applications, Turbulence and I have As across my 24 thesis credits.
I have a few more projects, related to writing the kNN classification model and recognising hand written text, writing codes to simulate guidance algorithms for homing missiles (in 2-D) and evaluating factors like control effort, time of interception, positive gain etc. and a few others in ANSYS Fluent and MATLAB.
Some of the programs where I see a great match with my interest in high speed flows, turbulence modelling and ML application also happen to be the most selective ones.
1.) Aeroastro at MIT
2.) Aerospace at Purdue
3.) Computational Science and Engineering at GATECH
4.) Aerospace at UIUC (CHESS group)
5.) Professor Ricardo Garcia at Cambridge, and Whittle Laboratory with Professor Andrew Wheeler
6.) Oxford Thermofluids Institute
7.) Professor Raman's group at UMich
8.) GALCIT at Caltech, Professor Tim Colonius and Professor Dan Meiron
9.) Supponen group at ETH Zurich
Please let me know what are my chances at ANY of these places. Many of the places I have mentioned have open positions, but I want a reality check, a brutal one, as to what are my odds. Also, any heads up on groups that you know, for which I could be a decent match is really appreciated.
Hi, I have an airfoil that my professor bought off of Amazon and I was wondering a good way of accurately capturing the airfoil so that I can run it in star ccm+? To clarify, I don’t have any CAD models or dimensions to work with, but I do physically have the blade. I want to start with 2D, but 3D methods are helpful too.
TL; DR: how do PDE solvers accurately perform time integration between solutions that are sampled on different meshes?
Suppose the I have a time-dependent PDE, where the solution at time t is denoted by u^(t). I would like to apply a solver S to advance the solution in time to u^(t+1). This requires discretizing space. We would like for the mesh to have high resolution in areas where the spatial gradient is high to accurately resolve dynamics in this region. However, since the regions of high spatial gradient shift with time, the mesh needs to as well. Therefore, we would like the solver S to do the following computation:
u^(t+1)(M^(t+1))=S(u^(t)(M^(t)))
where u^(t)(M^(t)) denotes u^(t) sampled on the mesh M^(t), and M^(t) and M^(t+1) are constructed to allocate fine resolution in the high gradient regions of u^(t) and u^(t+1), respectively.
My question is how S can be implemented to map between solutions sampled on different meshes. Obviously, we could just integrate u^(t)(M^(t)) to u^(t+1)(M^(t)) using a time integrator like Runge-Kutta, determine M^(t+1) using a software like AMRex by looking at high-gradient regions of u^(t+1)(M^(t)), and then interpolate u^(t+1)(M^(t)) to u^(t+1)(M^(t+1)) -- I think this is close to the approach taken by the original works on mesh refinement (https://www.sciencedirect.com/science/article/pii/0021999184900731 ):
If a new fine grid is created, its initial values are interpolated using the finest grids from the already existing grid structure
This doesn't seem as though it could possibly work well. Since we are allocating new mesh points in places where we think there is error in u^(t+1)(M^(t)), it seems as though interpolating the solution in these regions will not resolve these errors. Instead, it seems like we need to "combine" the two meshes into M^(t) U M^(t+1) and redo the integration u^(t)(M^(t) U M^(t+1))->u^(t+1)(M^(t) U M^(t+1)), and repeat this until "converged", in the sense that our remeshing algorithm doesn't detect any regions with insufficiently low resolution.
Is this close to how re-meshing is actually done?
Hi everyone,
I'm new to the CFD world and for my exam of Fluid Dynamics I have to install StarCCM+ on my Macbook pro m2 pro. The easiest way of course is to install it using paralles, but emulating windows entirely isn't optimal and it's expensive to get the license. I heard that someone was able to install some CFD softwares using Docker and, if I understand well, it is like using only the windows pieces required reducing the load on the machine and basically running it for free. Can someone help me to set up it? Anyone can share with me some feedback about performances and the overall usage experience?
Thanks
Hi everyone,
I’m running a simulation in ANSYS where a capsule at 55°C is submerged in a static water tank at 25°C. I’m calculating the heat transfer coefficient (HTC) using the Surface Heat Transfer Coefficient option, as I plan to validate the results later in a lab experiment. I calculate surface heat transfer coefficient on Shadow wall of capsule
I understand that ANSYS calculates HTC as: h = q / ΔT, where ΔT = (T_wall - T_ref).
My question is: Does q in this case represent the heat flux coming from the shadow boundary (from the capsule wall to the water near the capsule)? And is ΔT correctly defined as T_wall of the capsule - T_ref, where in my simulation T_ref = 25°C (the water temperature)? Is it correct approach or should I change something?
I want to ensure I’m interpreting this correctly. Thanks for your help!
Hi , I'm new to this channel and not educated in cfd in any way. At the moment I'm constructing an engine which uses Compressed Air. The Two valves (inlet and outlet) are basically just two cylinders which are rotating and every half turn the Hole drilled through the cylinder matches with one hole above and one under the cylinder, letting air into the engine. I now want to calculate the Max Airvolume which is able to travel through the "valve". Is there a way to calculate the flow even at higher RPMs or is it better to simulate the whole Valve. And if I want to simulate the Valve, what software gives me the ability to do fluid simulation with a rotating Valve at different RPMs? Thanks in Advance for an answer.
SOLUTION: the hexes should read as follow:
vertices
(
(0 0 0) //0 inlet11
(0 0 0.05) //1 inlet12
(0 0.075 0) //2 inlet13
(0 0.075 0.05) //3 inlet14
(0.085 0.075 0) //4 xcon5
(0.085 0.075 0.05) //5 xcon6
(0.085 0.175 0) //6 xcon7
(0.085 0.175 0.05) //7 xcon8
(0.015 0.175 0) //8 inlet21
(0.015 0.175 0.05) //9 inlet22
(0.015 0.205 0) //10 inlet23
(0.015 0.205 0.05) //11 inlet24
(0.165 0.205 0) //12 outlet23
(0.165 0.205 0.05) //13 outlet24
(0.165 0.175 0) //14 outlet21
(0.165 0.175 0.05) //15 outlet22
(0.095 0.175 0) //16 xcon1
(0.095 0.175 0.05) //17 xcon2
(0.095 0.075 0) //18 xcon3
(0.095 0.075 0.05) //19 xcon4
(0.2 0.075 0) //20 outlet13
(0.2 0.075 0.05) //21 outlet14
(0.2 0 0) //22 outlet11
(0.2 0 0.05) //23 outlet12
);
blocks
(
hex (0 22 20 2 1 23 21 3) (200 20 1) simpleGrading (1 1 1) // pipe1
hex (8 10 11 9 12 13 15 14) (150 15 1) simpleGrading (1 1 1) //pipe2
hex (4 5 7 6 16 17 19 20) (50 10 1) simpleGrading (1 1 1) //xcon
);
------------
ORIGINAL QUESTION: Hello all, I keep getting the error that my vertices are inside out, even though I've 5x checked at this point (including using Copilot) and I'm at my wit's end, If anyone has any guidance they could provide, I'd appreciate it.
This is the error I keep getting:
"Reading "blockMeshDict"
Creating block mesh from
"system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
--> FOAM FATAL IO ERROR:
Block hex (0 1 3 2 22 23 21 20) (200 20 1) simpleGrading (1(1) 1(1) 1(1)) is inside-out
file: /home/91366/openfoam10/tutorials/incompressible/icoFoam/finalProject/pipeProject/system/blockMeshDict/blocks at line 48.
From function void Foam::blockDescriptor::check(const Foam::Istream&)
in file blockDescriptor/blockDescriptor.C at line 100.
FOAM exiting"
Text of my blockMeshDict:
convertToMeters 1;
vertices
(
(0 0 0) //0 inlet11
(0 0 0.05) //1 inlet12
(0 0.075 0) //2 inlet13
(0 0.075 0.05) //3 inlet14
(0.085 0.075 0) //4 xcon5
(0.085 0.075 0.05) //5 xcon6
(0.085 0.175 0) //6 xcon7
(0.085 0.175 0.05) //7 xcon8
(0.015 0.175 0) //8 inlet21
(0.015 0.175 0.05) //9 inlet22
(0.015 0.205 0) //10 inlet23
(0.015 0.205 0.05) //11 inlet24
(0.165 0.205 0) //12 outlet23
(0.165 0.205 0.05) //13 outlet24
(0.165 0.175 0) //14 outlet21
(0.165 0.175 0.05) //15 outlet22
(0.095 0.175 0) //16 xcon1
(0.095 0.175 0.05) //17 xcon2
(0.095 0.075 0) //18 xcon3
(0.095 0.075 0.05) //19 xcon4
(0.2 0.075 0) //20 outlet13
(0.2 0.075 0.05) //21 outlet14
(0.2 0 0) //22 outlet11
(0.2 0 0.05) //23 outlet12
);
blocks
(
hex (0 1 3 2 22 23 21 20) (200 20 1) simpleGrading (1 1 1) // pipe1
hex (8 9 11 10 14 15 13 12) (150 15 1) simpleGrading (1 1 1) //pipe2
hex (4 5 6 7 16 17 18 19) (50 10 1) simpleGrading (1 1 1) //xcon
);
edges
(
);
boundary
(
inlet1
{
type patch;
faces
(
(0 1 2 3)
);
}
inlet2
{
type patch;
faces
(
(8 9 10 11)
);
}
outlet1
{
type patch;
faces
(
(22 23 20 21)
);
}
outlet2
{
type patch;
faces
(
(14 15 12 13)
);
}
wall
{
type wall;
faces
(
(0 1 22 23) //bottom wall
(2 3 18 19) //middle bottom left
(18 19 20 21) //middle bottom right
(16 17 14 15) //middle top right
(8 9 6 7) //middle top left
(10 11 12 13) //top wall
);
}
);
mergePatchPairs
(
);
I'm trying to simulate air flow through a heated copper pipe. The idea is to check if the heating effect makes the air come out faster. The only parameters i know are that the inlet velocity is 8 m/s and inlet pressure is 1 Pa. I do not anything about the outlet. Can someone tell me what settings i should use in setup to get the right solution (I e increased volume flow rate at outlet).
Hello, Everyone
I tried to study how to mesh and validation result of my simulation.
My result is still not quite correct compare to the reference that I refer from Simscale.
https://www.simscale.com/docs/validation-cases/turbulent-pipe-flow/
It's simple simulation of a water flow in a pipe.
I have tried to mesh and expermental with Wall Layer Function by using K-Epsilon and SST Omega,
But the pressure loss prediction by Autodesk CFD result still not quite close to the analytics result value,
The Analytics calculation of Pressure Loss Along the pipe length should be 1580 Pa to 0 Pa.
Pressure Loss Reference from Simscale Website
Velocity Profile Reference From Simscale Website
I think, I might have do something wrong.
So Let's me know what you think about my result ?
Any suggestions are welcome, and I really appreciate for your time.
For K-Epsilon ,I have aim Y+ Around [35,300] and For SST Omega Y+ is below 1.
Thank Everyone.
FOR K-EPSILON MODEL
Turbulence Model : K-epsilon
Velocity Inlet : 1m/s
Pressure at Outlet : 0 Pa
Estimated Wall Distance For Y+ = 35
Pressure Loss Plot from Center Of Pipe Inlet through Outlet
Velocity Profile Across Pipe Diameter
---------------------------------------------------------------------------------------------------------------------------
FOR SST OMEGA MODEL
Turbulence Model : SST-Omega
Velocity Inlet : 1m/s
Pressure at Outlet : 0 Pa
Estimate Wall Distance For Y+ =< 1
Guys I have been doing transient analysis. I am new to it. Now the problem is for Ahmed body with a slant angle of 35 and the velocity being 40m/s² the drag co-efficient is 0.35. But from some paper I saw the CD is 0.26.But I can't be sure of the paper I am literally confused. Is my answer even correct .
I want to develop a GPU first solver, but I don’t want to work on an LBM solver because of its drawbacks. On the other hand, it seems that unstructured FVM and GPUs do not work well together because of their fundamental properties (ie. unstructured memory layout, implicit solvers, sparse matrix etc). So, for a GPU-first solver, what do you suggest I research and implement instead of traditional FVM? Think this as a long term side project so I am completely free about it.
On BBC they said they evaluated over 2000 designs and show CFD simulation in the end. I am wondering how long it took them to do that. I already struggle with meshing of a simple stirred tank 😅 What are your thoughts?
https://www.theengineer.co.uk/content/news/ai-designed-birmingham-blade-is-optimised-for-urban-wind
Hello, I have been doing PhD for the past 4.5 years. I contributed to four SCI journals and all were published with my name. Now, I need to produce two more articles. However I will be moving to a full time position, due to my financial problems. Please throw your advises to complete two reasearch article. I am asking you because my prof can't guide me directly hereafter. If you know any consultancy who helps PhD student to publish SCI journals, please let me know. I am asking here because folks can suggest me something to do with CFD.
https://onlinelibrary.wiley.com/doi/full/10.1002/zamm.202100254
this is the link to the paper, it use GENERIC framework to derive the PDE system of reactive flow, and there are even some papers that use the same framework to derive the PDE system of fluid structure coupling, maybe in the future we must learn a lot of statistical mechanics to become a good CFD engineer
For those working on CFD and related fields, consider cross-posting some of your detailed or exploratory posts to r/VXJunkies. It's a satirical subreddit that thrives on highly technical-sounding content. I know nothing about CFD, but all the posts I’ve seen here—charts, simulations, rotors, matrixes, discussions, tutorials—would fit in perfectly.
Make sure to keep the acronyms coming, like STAR-CCM+, ANSYS, and all that jazz. The overlap in tone could highlight some humor in the field—or maybe even spark unconventional ideas?
Why not share and see how it’s received? Just an idea from a lost redditor 😁
I am a Mechanical Engineering student, and I want to learn ANSYS CFD. Can someone please guide me on where to start and provide some resources? I have a basic knowledge of CFD, but I’m struggling to find tutorials on YouTube that cover the in-depth process I’m seeking, as most of them lack detailed explanations.
Hey everyone, I’ve been working with Fluent on some pretty complex models with tons of parts, and checking if emissivity values are set correctly has always been a pain. I thought, "Why not just plot emissivity on a contour plot?" But turns out... you can’t.
So, I hacked together a little script in pyFluent to do it:
It’s not the most elegant solution, but it gets the job done.
Do you have a better way to deal with this? Have you had the same problem?
If you're curious about the script, just let me know, and I’ll share the details!