SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Tutorial calculation in “An Introduction
to Computational Fluid Dynamics”
yotakagi77
August 5th, 2017
Ex. 11.1 Heat conduction problem in
unstructured grid.
Grid generation
• First trial
– blockMesh w/ wedge
– blockMesh wo/ wedge
– Square to triangle
– Shift, mirror, shift, merge, mirror, rotate, ….
– Modification of boundary patches is boring.
Grid generation
• Second trial
– Hand writing polyMesh data
– Investigation of a simple grid, e.g. two triangles.
polyMesh
• points
• faces
• owner
• neighbor
• boundary
0
1
Let’s try manual meshing!
• Three triangles
Mesh generation with section paper
Mesh generation with section paper
polyMesh of half model
• 22 points
• 37 faces
• 8 internal faces
• 6 patches
– adiabatic, low T., middle T., high T., symmetry,
empty
Heat conduction calculation
• Solver: laplacianFoam
• Physical property
– Thermal diffusivity, DT (=a)
• r = 7.83 x 103 kg/m3
• Cp = 461 J/kg·K
• k = 50 W/m·K
• a = k / (rCp) = 0.0147 m2/s
Result
refineMesh
$ refineMesh
refineMeshDict
// Cells to refine; name of cell set
set c0;
// Type of coordinate system:
// - global : coordinate system same for every cell. Usually aligned with
// x,y,z axis. Specify in globalCoeffs section below.
// - patchLocal : coordinate system different for every cell. Specify in
// patchLocalCoeffs section below.
// - fieldBased : uses the list of field names from the directions list for
// selecting the directions to cut. Meant to be used with geometricCut, but
// can also be used with useHexTopology.
//coordinateSystem global;
coordinateSystem patchLocal;
//coordinateSystem fieldBased;
// .. and its coefficients. x,y in this case. (normal direction is calculated as tan1^tan2)
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
}
refineMeshDict
patchLocalCoeffs
{
patch frontAndBack; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
tan2 (0 1 0);
}
// List of directions to refine, if global or patchLocal
directions
(
tan1
tan2
normal
);
// List of directions to refine, if "fieldBased". Keep in mind that these
// fields must be of type "vectorField", not "volVectorField".
//directions
//(
// radialDirectionFieldName
// angularDirectionFieldName
// heightDirectionFieldName
//);
refineMeshDict
// Whether to use hex topology. This will
// - if patchLocal: all cells on selected patch should be hex
// - split all hexes in 2x2x2 through the middle of edges.
//useHexTopology true;
useHexTopology false;
// Cut purely geometric (will cut hexes through vertices) or take
topology
// into account. Incompatible with useHexTopology
//geometricCut false;
geometricCut true;
// Write meshes from intermediate steps
writeMesh false;

Weitere ähnliche Inhalte

Ähnlich wie Tutorial calculation in “An Introduction to Computational Fluid Dynamics”

Staircases_in_Fluid_Dynamics_JacobGreenhalgh
Staircases_in_Fluid_Dynamics_JacobGreenhalghStaircases_in_Fluid_Dynamics_JacobGreenhalgh
Staircases_in_Fluid_Dynamics_JacobGreenhalgh
Jacob Greenhalgh
 
studying-desorption-krypton
studying-desorption-kryptonstudying-desorption-krypton
studying-desorption-krypton
Aaron Stromberg
 
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
RajuNestham1
 

Ähnlich wie Tutorial calculation in “An Introduction to Computational Fluid Dynamics” (20)

zueva_abstract_of_thesis
zueva_abstract_of_thesiszueva_abstract_of_thesis
zueva_abstract_of_thesis
 
MLMM_16_08_2022.pdf
MLMM_16_08_2022.pdfMLMM_16_08_2022.pdf
MLMM_16_08_2022.pdf
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
 
Raster processing
Raster processingRaster processing
Raster processing
 
09 placement
09 placement09 placement
09 placement
 
Graphical methods for 2 d heat transfer
Graphical methods for 2 d heat transfer Graphical methods for 2 d heat transfer
Graphical methods for 2 d heat transfer
 
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMSFINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
 
Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...Ill-posedness formulation of the emission source localization in the radio- d...
Ill-posedness formulation of the emission source localization in the radio- d...
 
Space time & power.
Space time & power.Space time & power.
Space time & power.
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
SimulatedAnnealing.ppt
SimulatedAnnealing.pptSimulatedAnnealing.ppt
SimulatedAnnealing.ppt
 
Numerical methods for 2 d heat transfer
Numerical methods for 2 d heat transferNumerical methods for 2 d heat transfer
Numerical methods for 2 d heat transfer
 
Stellar hydro
Stellar hydroStellar hydro
Stellar hydro
 
Heat transfer from extended surfaces (or fins)
Heat transfer from extended surfaces (or fins)Heat transfer from extended surfaces (or fins)
Heat transfer from extended surfaces (or fins)
 
Staircases_in_Fluid_Dynamics_JacobGreenhalgh
Staircases_in_Fluid_Dynamics_JacobGreenhalghStaircases_in_Fluid_Dynamics_JacobGreenhalgh
Staircases_in_Fluid_Dynamics_JacobGreenhalgh
 
MSc Presentation.potx
MSc Presentation.potxMSc Presentation.potx
MSc Presentation.potx
 
Nucleation and avalanches in film with labyrintine magnetic domains
Nucleation and avalanches in film with labyrintine magnetic domainsNucleation and avalanches in film with labyrintine magnetic domains
Nucleation and avalanches in film with labyrintine magnetic domains
 
studying-desorption-krypton
studying-desorption-kryptonstudying-desorption-krypton
studying-desorption-krypton
 
Customization of LES turbulence model in OpenFOAM
Customization of LES turbulence	 model in OpenFOAMCustomization of LES turbulence	 model in OpenFOAM
Customization of LES turbulence model in OpenFOAM
 
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
lefg sdfg ssdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg sdfg d...
 

Kürzlich hochgeladen

Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Kürzlich hochgeladen (20)

Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 

Tutorial calculation in “An Introduction to Computational Fluid Dynamics”

  • 1. Tutorial calculation in “An Introduction to Computational Fluid Dynamics” yotakagi77 August 5th, 2017
  • 2. Ex. 11.1 Heat conduction problem in unstructured grid.
  • 3. Grid generation • First trial – blockMesh w/ wedge – blockMesh wo/ wedge – Square to triangle – Shift, mirror, shift, merge, mirror, rotate, …. – Modification of boundary patches is boring.
  • 4. Grid generation • Second trial – Hand writing polyMesh data – Investigation of a simple grid, e.g. two triangles.
  • 5. polyMesh • points • faces • owner • neighbor • boundary 0 1
  • 6. Let’s try manual meshing! • Three triangles
  • 7. Mesh generation with section paper
  • 8. Mesh generation with section paper
  • 9. polyMesh of half model • 22 points • 37 faces • 8 internal faces • 6 patches – adiabatic, low T., middle T., high T., symmetry, empty
  • 10. Heat conduction calculation • Solver: laplacianFoam • Physical property – Thermal diffusivity, DT (=a) • r = 7.83 x 103 kg/m3 • Cp = 461 J/kg·K • k = 50 W/m·K • a = k / (rCp) = 0.0147 m2/s
  • 13. refineMeshDict // Cells to refine; name of cell set set c0; // Type of coordinate system: // - global : coordinate system same for every cell. Usually aligned with // x,y,z axis. Specify in globalCoeffs section below. // - patchLocal : coordinate system different for every cell. Specify in // patchLocalCoeffs section below. // - fieldBased : uses the list of field names from the directions list for // selecting the directions to cut. Meant to be used with geometricCut, but // can also be used with useHexTopology. //coordinateSystem global; coordinateSystem patchLocal; //coordinateSystem fieldBased; // .. and its coefficients. x,y in this case. (normal direction is calculated as tan1^tan2) globalCoeffs { tan1 (1 0 0); tan2 (0 1 0); }
  • 14. refineMeshDict patchLocalCoeffs { patch frontAndBack; // Normal direction is facenormal of zero'th face of patch tan1 (1 0 0); tan2 (0 1 0); } // List of directions to refine, if global or patchLocal directions ( tan1 tan2 normal ); // List of directions to refine, if "fieldBased". Keep in mind that these // fields must be of type "vectorField", not "volVectorField". //directions //( // radialDirectionFieldName // angularDirectionFieldName // heightDirectionFieldName //);
  • 15. refineMeshDict // Whether to use hex topology. This will // - if patchLocal: all cells on selected patch should be hex // - split all hexes in 2x2x2 through the middle of edges. //useHexTopology true; useHexTopology false; // Cut purely geometric (will cut hexes through vertices) or take topology // into account. Incompatible with useHexTopology //geometricCut false; geometricCut true; // Write meshes from intermediate steps writeMesh false;