openfoamtutorials / openfoam_tutorials_ Goto Github PK
View Code? Open in Web Editor NEWOpenFOAM Tutorials!
OpenFOAM Tutorials!
This repository contains code for the OpenFOAM Tutorials YouTube channel: https://www.youtube.com/channel/UCHXaKLlZRQxkSG6dD6ZWvSg Note that I am no longer actively maintaining this repo! I now make a new repo for each tutorial. Upcoming tutorials: -Structural Analysis in OpenFOAM -FanWing Simulation in OpenFOAM (3D) -Cyclorotor Simulation in OpenFOAM -Compiling Custom Mesh Motion in OpenFOAM: Nested AMI Regions -Compiling Custom Code in OpenFOAM: Nested AMI Regions -Compiling Custom Code in OpenFOAM: AMI Ramped Rotation Speed -Does Drafting Reduce Drag? -How Do Truck Flaps (Aft Flaps, Container Skirts) Reduce Drag? -Gmsh tips: -point in surface for unstructured mesh size control. -ce++ instead of manual identifiers. -Include ""; -Boundary{} -Duplicata{} -Spalart Allmaras Rotation / Curvature Correction Model (SARCM) -Validation of SARCM -Dispersion of spray in a room or wind tunnel -Design of HVAC ducts -3D axisymmetric N-S propeller simulation -Design of supersonic nozzle -Basic electromagnetics simulation -OpenFOAM Meshing: Gmsh STL + snappyHexMesh Tutorial -OpenFOAM Light Optimization Tips: -Reordering -Potential initialization -How to Run OpenFOAM in Parallel with OpenMPI -How to do Post-Processing in ParaView -Conjugate Heat Transfer in OpenFOAM -Hyperloop with Compressor Simulation -Rolling tube in supersonic flow (CHT) If you would like to see a tutorial listed above or have a suggestion of your own, let me know through the YouTube channel!
I tried to go through this tutorial. things went well just before solving. this is the error I got:
--> FOAM FATAL ERROR:
Unknown TurbulenceModel type RASModel
Valid TurbulenceModel types:
3
(
LES
RAS
laminar
)
From function static Foam::autoPtr<Foam::TurbulenceModel<Alpha, Rho, BasicTu rbulenceModel, TransportModel> > Foam::TurbulenceModel<Alpha, Rho, BasicTurbulen ceModel, TransportModel>::New(const alphaField&, const rhoField&, const volVecto rField&, const surfaceScalarField&, const surfaceScalarField&, const transportMo del&, const Foam::word&) [with Alpha = Foam::geometricOneField; Rho = Foam::geom etricOneField; BasicTurbulenceModel = Foam::incompressibleTurbulenceModel; Trans portModel = Foam::transportModel; Foam::TurbulenceModel<Alpha, Rho, BasicTurbule nceModel, TransportModel>::alphaField = Foam::geometricOneField; Foam::Turbulenc eModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::rhoField = Foam::geome tricOneField; Foam::volVectorField = Foam::GeometricField<Foam::Vector, Foam::fvPatchField, Foam::volMesh>; Foam::surfaceScalarField = Foam::GeometricFi eld<double, Foam::fvsPatchField, Foam::surfaceMesh>; Foam::TurbulenceModel<Alpha , Rho, BasicTurbulenceModel, TransportModel>::transportModel = Foam::transportMo del]
in file /opt/CFDSupportFOAM4.0/beta/OpenFOAM-dev/src/TurbulenceModels/turbul enceModels/lnInclude/TurbulenceModel.C at line 113.
Thanks a lot man for the great tutorials. I have a hard time installing gmshToFoam and paraFoam on Ubuntu. How did you do that?
Dear Sir,
Thanks for the great tutorial.
I am trying to plot the forces using the supplied python script (plot_forces.py) but it returns the following error:
Traceback (most recent call last):
File "./plot_forces.py", line 41, in
data_dict = line2dict(line)
File "./plot_forces.py", line 18, in line2dict
floats = [float(x) for x in tokens]
ValueError: invalid literal for float(): -2.6235e-13,0.0459128
So, what is the reason for this error? and which python version you are using?
Best regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.