re=2100; R=0.002; D=2*R; mu=0.89e-3; L_e=0.06*re*D; rho=997; theta=4; L=L_e+0.5; vavg=(re*mu)/(rho*D); vmax=2*vavg; r=linspace(0,R,1000); dp=(8*mu*L*vavg)/(R^2); pk=(dp)/rho; for i=1:length(r) tau(i)=(2*mu*vmax*r(i))/(R^2); end plot(r,tau) xlabel('radial distance') ylabel('shear stress') header1='/*----------------------------------*-…
Pranshul Pandey
updated on 09 Jun 2020
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Pranshul Pandey (4)
Week 12 - Symmetry vs Wedge vs HP equation
re=2100; R=0.002; D=2*R; mu=0.89e-3; L_e=0.06*re*D; rho=997; theta=45; L=L_e+0.5; vavg=(re*mu)/(rho*D); vmax=2*vavg; r=linspace(0,R,1000); dp=(8*mu*L*vavg)/(R^2); pk=(dp)/rho; for i=1:length(r) tau(i)=(2*mu*vmax*r(i))/(R^2); end plot(r,tau) xlabel('radial distance') ylabel('shear stress') header1='/*----------------------------------*-…
13 Jun 2020 08:30 PM IST
Week 11 - Simulation of Flow through a pipe in OpenFoam
re=2100; R=0.002; D=2*R; mu=0.89e-3; L_e=0.06*re*D; rho=997; theta=4; L=L_e+0.5; vavg=(re*mu)/(rho*D); vmax=2*vavg; r=linspace(0,R,1000); dp=(8*mu*L*vavg)/(R^2); pk=(dp)/rho; for i=1:length(r) tau(i)=(2*mu*vmax*r(i))/(R^2); end plot(r,tau) xlabel('radial distance') ylabel('shear stress') header1='/*----------------------------------*-…
09 Jun 2020 01:32 AM IST
Week 8 - BlockMesh Drill down challenge
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile…
02 Jun 2020 02:24 AM IST
Week 9 - FVM Literature Review
The interpolation schemes in Finite Volume Method are used t calculate value at the cell centre rather calculating the value at node points. Following are the interpolation schemes used in Finite Volume Method we are takng 1d heat conduction equation as an example so the scalar will be temperature(T): 1.)Central differencing…
23 May 2020 09:39 PM IST