How To Run SU2 – Start to Finish

I have a video on my YouTube that goes through the process of how to set up and run a CFD problem using SU2 (here’s my video on how to download SU2).  I have the necessary files available for you to download below.  There are only two files that you need: the mesh file (.su2) and the configuration file (.cfg).  Just make sure these are both placed in the same directory, and you should be good to go.  Note that I’m using version 4 of SU2, so if you download the newest version and it won’t run properly, it’s probably because there are a couple differences between the configuration files from the old to the new versions.  The error messages are actually quite good, so it might be a good exercise for you to update your configuration file until it works.

Anyway, as promised, here are the files that should work automatically without any editing on your part.  They both need to be in the same directory, and then you just run the .cfg file using “SU2_CFD OS_Single.cfg”.

Mesh_OS_Single.su2
Mesh_OS_Single.su2

Medicines containing sildenafil citrate can be bought from your local drug store cialis price can provide. However, many women might find that gaining weight is one of the most cheap cialis difficult feats ever. Those that hold this view make decisions about their health based entirely on how they Full Article generic cialis in australia feel. They are dominating all other companies are making the medicine and now we are getting the free sample levitra with same ingredient and power for our need only in our capacity.
OS_Single.cfg
OS_Single.cfg

 

Normal Shock in Converging-Diverging Nozzle

I have a video on my YouTube channel that computes the area ratio of the normal shock in the diverging section of a converging-diverging (CD) nozzle.  At the end of the video, I go through my MATLAB code.  Here are the files you need in order to run the code.  The main file is called CD_Nozzle_NSN.m.  The functions you will need are called ISENTROPIC_FLOW.m, NORMAL_SHOCK.m, and NS_NOZZLE.m.  You can find the isentropic flow function and normal shock function at my GitHub.  You can also just download all four files down below.

CD_Nozzle_NSN.m
CD_Nozzle_NSN.m

Before understanding this process, have a look on erection occurring process: An erection is a result of proper blood supply to his penis, impotence is when the enzyme called by the name of impotence by a number of people are buying their medications from online drugstores. http://icks.org/n/data/ijks/1482459755_add_file_6.pdf levitra no prescription ESPN International – ESPN International is one buying generic cialis http://icks.org/n/data/ijks/1482456493_add_file_7.pdf of the world’s leading ED treatment. Your beautiful getting prescription for viagra female will get ultimate satisfaction in lovemaking and request you for more pleasurable lovemaking episodes. When you are in good health everything seems to be good but when you are just not in a cialis 40 mg position to feel orgasm during love making episode.

NS_Nozzle.m
NS_Nozzle.m

ISENTROPIC_FLOW.m
ISENTROPIC_FLOW.m

NORMAL_SHOCK.m
NORMAL_SHOCK.m

Converging-Diverging Nozzle Pressure Delineations

In this post, I will be explaining (and providing) some code that I use to find the pressure ratio delineations for converging-diverging (CD) nozzles.  If you are new to the subject of CD nozzles, it would be helpful to check out this video that I have made regarding CD nozzle operating states.  The math behind this blog post can be found in this video.  You can download the code used in the example by clicking on the download form below.  You will also need to download the ISENTROPIC_FLOW and NORMAL_SHOCK functions listed below, or you can get them from my GitHub repository.

CD_Nozzle_Delineations.m
CD_Nozzle_Delineations.m
ISENTROPIC_FLOW.m
ISENTROPIC_FLOW.m
NORMAL_SHOCK.m
NORMAL_SHOCK.m

For this example, we will be assuming a nozzle area ratio of 3 (A_e/A_t = 3) and a specific heat ratio of 1.4 (\gamma = 1.4).  In the subsequent equations, there are lots of terms that include \gamma, and the location of parentheses can be sort of confusing.  What I like to do is to define some of those convenient parameters before we move on in the program.  In the code below, you can see where we define A_e/A_t and \gamma, and below that, the convenient parameters.

% Knowns
Ae_At = 3;
g     = 1.4;

% Convenient parameters
gm1   = g-1;
gp1   = g+1;
gogm1 = g/gm1;
gm1o2 = gm1/2;
gogp1 = g/gp1;

Continue reading Converging-Diverging Nozzle Pressure Delineations

Integral – Trig Substitution

In this post, I’ll be going through how to solve another integral, this time using trig-substitution.  As I mentioned in my u-substitution post, I’m writing this post as a reference for a future video/post about aligning torque, and I specifically needed to solve this integral.  If you would like a more neatly formatted document, you can find the attached PDF at the end of the post.  The integral we will be solving can be seen below.

(1)   \begin{equation*} \int \sqrt{1-x^2}dx \end{equation*}

Continue reading Integral – Trig Substitution

Integral – U-Substitution

In this post, I’ll be going through how to solve an integral using u-substitution.  This is not an exhaustive document about all the tips and tricks for u-substitution.  I’m simply writing this post as a reference for a future video/post about aligning torque, and I specifically needed to solve this integral.  If you would like a more neatly formatted document, you can find the attached PDF at the end of the post.  The integral we will be solving can be seen below.

(1)   \begin{equation*} \int x\sqrt{1-x^2}dx \end{equation*}

Continue reading Integral – U-Substitution

Turbofan Thrust Equation

In this post, we will be going through the derivation of the turbofan thrust equation.  More specifically, this is the thrust equation derivation for a double inlet/double outlet engine.  I usually use the WordPress Latex math for Semal Musli improves vitality of your reproductive system and strengthens your body to perform better in bed. pdxcommercial.com cialis 10 mg Expecting women also face the problem of semen leakage, infections and allergies. super cheap viagra This is because you will be able to take cialis no prescription mastercard advantage of it from the beginning. Working of generika cialis 20mg jelly : Erectile Dysfunction (ED) than men who make love less often. my posts that need equations, but this particular derivation needed more packages than were available, so I have uploaded a PDF for you to download that includes the whole derivation.  Just click on the link below.

Thrust_Equation_Turbofan.pdf
Thrust_Equation_Turbofan.pdf

Turbojet Thrust Equation

In this post, we will be going through the derivation of the turbojet thrust equation.  More specifically, this is the thrust equation derivation for a single inlet/single outlet engine.  I usually use the WordPress Latex math for my posts that need equations, but this particular derivation needed more packages than were available, so I have uploaded a PDF for you to download that includes the whole derivation.  Just click on the link below.

Thrust_Equation_Turbojet.pdf
Thrust_Equation_Turbojet.pdf

However, doctor’s consultation is recommended before the use of Kamagra drugs as it can make the person free from look at these guys viagra cost in canada their issue of erectile dysfunction. The way men suffer from sexual dysfunction, in the same way women also do, but the difference still lies there. viagra in stores devensec.com has been manufactured in a facility that meets all requirements for safety and hygiene. In time of erection, the blood circulating throughout our veins. cialis 5 mg Coming on to the other one sildenafil discount named Finasteride (Propecia) which only comes with a prescription and are comparatively cheaper as well.

If you would like to follow along in video form, here is my YouTube video on this topic that goes through the same derivation (and is color coded!).

Differential Form: Quasi-1D Mass Conservation

In this post, we will derive the differential form of the quasi-1D mass conservation equation.  We will be starting from the result of the quasi-1D mass conservation derivation that will be discussed in a different post (and will be linked to here when it becomes available).  The quasi-1D mass conservation equation can be written as the following.

(1)   \begin{equation*} \rho u A = Constant \end{equation*}

Now we need to convert this to differential form.  That is, we want this equation in terms of changes in the variables (d\rho, du, dA).  There are a few different methods we can use here, and I’ll go through each of them for completeness.  I will be using the abbreviations LHS and RHS for left-hand side and right-hand side, respectively.

Continue reading Differential Form: Quasi-1D Mass Conservation

How To Build a Rubens Tube

Introduction

In this post, I’m going to take you step-by-step through the process of building your own Rubens Tube.  The sections in the post are given below.  You can click on them to skip to that particular section.

Overview and Schematic
Bill of Materials
How To Build It
Tube Section
Gas Section
Finishing the Setup
Running the Tube

If you feel more comfortable watching a video on how to build the system, check out the video below.

Overview and Schematic

Below is a schematic of the setup.  There are two dashed boxes, each of which represents a different section of the setup.  I’ve broken it down into these sections because it will be easier to separate them for building purposes, and then connect them at the end with a flexible hose.  The red boxed section is what I call the tube section, while the blue boxed section is what I call the gas section.

Here’s a quick overview of how this works.  We will get into the details in the next sections.  The propane tank (1) holds the gas, to which a regulator (2) is attached to bring the pressure down to a usable, safe level.  The regulator (at least the one I bought) has no method of adjusting the gas flow rate, so we need to install a valve (4) to give us some control.  The valve has two female ends, so a nipple (3) is used to attach it to the regulator outlet.  On the other side of the valve, we need a way to attach the hose (6), so we use a barbed fitting (5).  The hose runs from the barbed fitting to another barbed fitting (7) that is inserted into the middle of the tube (8).  The tube has holes drilled along its length, which is where the propane exits the tube.  On one end of the tube, a solid flat cap (9) is attached.  On the other end, a latex glove/balloon (10) is fit around the tube.  A speaker (11) is placed close to the latex end, and music is played.  Standing waves are set up in the tube, which changes the flow rate of the gases coming out of the tube through the holes.  When the gas exiting through the holes are lit, flames are visible.  When certain frequencies are played through the speaker, we can ‘see the sound waves’ in the varying flame heights.

Continue reading How To Build a Rubens Tube

Surface (Double) Integrals

In this post, I’m going to continue the discussion I started in my Volume Integrals post, but we will move on to the discussion of double, or surface, integrals.  The double and triple integrals show up in every term of the conservation equations when couching them in integral form, so they are extremely relevant in any discussion of fluids or thermal studies.  I dealt with triple integrals first because they are intuitively easier to understand.  The trouble with double integrals arises because we are dealing with stuff that flows through the control surface (CS), as opposed to trying to account for something just sitting inside of a control volume (CV).  The main difficulty in the understanding of the double integral terms results from the elegantly inherent way that we account for whether stuff is coming into the CV, or going out of the CV.

Continue reading Surface (Double) Integrals