Saturday, November 24, 2018

To do: Nov 24th

Merge:

https://github.com/bshambaugh/openfoam-experiments/tree/master/InletMesh

with
https://github.com/bshambaugh/openfoam-experiments/tree/master/NGpitzDaily

This gives:

https://github.com/bshambaugh/openfoam-experiments/tree/master/BNGpitzDaily





with the error:

smoothSolver:  Solving for Ux, Initial residual = 8.87405e-07, Final residual = 8.87405e-07, No Iterations 0
smoothSolver:  Solving for Uy, Initial residual = 0.168394, Final residual = 4.90847e-07, No Iterations 11
smoothSolver:  Solving for Uz, Initial residual = 0.762311, Final residual = 8.70185e-07, No Iterations 13
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  double Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4  Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#5  Foam::GAMGSolver::solveCoarsestLevel(Foam::Field<double>&, Foam::Field<double> const&) const at ??:?
#6  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
#7  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#8  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
#9  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#10  Foam::fvMatrix<double>::solve() at ??:?
#11  ? at ??:?
#12  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13  ? at ??:?
Floating point exception (core dumped)


Wednesday, November 21, 2018

Tuesday, November 20, 2018

freeStreamPressure

https://www.simscale.com/docs/content/simulation/model/boundaryConditionTypes/OF_pressure.html

Monday, November 19, 2018

Method of creation

1) Create folders:

InletMesh

FineMesh

CourseMesh


2) mergeMeshs -overwrite  FineMesh InletMesh
    mergeMeshs -overwrite  CourseMesh FineMesh


edit: mergeMesh to mergeMeshs on Dec. 1st, 2018

Error with RAS Model

 For squareCylinder_kEpsilon/   :

Error with RAS Model.

https://stackoverflow.com/questions/48421407/openfoam-foam-fatal-error-unknown-turbulencemodel-type-rasmodel

the correction gives a new error.

https://www.cfd-online.com/Forums/openfoam-solving/165495-error-div-nueff-dev2-t-grad-u.html

--------

For CFDwOpenFoam/LaminarVortexShedding :

https://bugs.openfoam.org/view.php?id=2347


0002347: Error while calculating forces - could not find rho

Saturday, November 17, 2018

stl or cad tool --- scaling | Turbulence Modelling

https://www.cfd-online.com/Forums/openfoam-meshing/198268-how-scale-stl-when-importing-salome-any-cad-tool-openfoam.html


Cad tool --- scaling


---------------------

https://www.youtube.com/playlist?list=PLOMAD1NLiFnw4sfxSkiCZwj20CzHjOuGh

Turbulence Modelling


https://github.com/meinarsve/CFDwOpenFoam


Also see Martin Einarsve on YouTube.

Tuesday, November 13, 2018

ideasToFoam length scale

ideasUnvToFoam LeftBottom.unv
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 4.1
Exec   : ideasUnvToFoam LeftBottom.unv
Date   : Nov 14 2018
Time   : 06:07:50
Host   : "caelinux"
PID    : 16488
Case   : /home/caelinux/OpenFOAM/caelinux-4.1/run/tutorials/incompressible/icoFoam/LeftBottom
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Processing tag:164
Starting reading units at line 3.
l:1
units:"  SI: Meter (newton)"
unitType:2
Unit factors:
    Length scale       : 1
    Force scale        : 1
    Temperature scale  : 1
    Temperature offset : 273.15


Processing tag:2420
Skipping tag 2420 on line 9
Skipping section at line 9.

Processing tag:2411
Starting reading points at line 20.
Read 882 points.

Processing tag:2412
Starting reading cells at line 1787.
First occurrence of element type 11 for cell 1 at line 1788
First occurrence of element type 44 for cell 165 at line 2280
First occurrence of element type 115 for cell 1045 at line 4040
Read 400 cells and 880 boundary faces.

Processing tag:2467
Starting reading patches at line 4842.
For group 1 named symmetryWallLeftBottom trying to read 20 patch face indices.
For group 2 named freeBoundryLeftBottom trying to read 20 patch face indices.
For group 3 named leftSide trying to read 20 patch face indices.
For group 4 named bottomToTop trying to read 20 patch face indices.
For group 5 named backFaceLeftBottom trying to read 400 patch face indices.
For group 6 named frontFaceLeftBottom trying to read 400 patch face indices.

Sorting boundary faces according to group (patch)
0: symmetryWallLeftBottom is patch
1: freeBoundryLeftBottom is patch
2: leftSide is patch
3: bottomToTop is patch
4: backFaceLeftBottom is patch
5: frontFaceLeftBottom is patch

Constructing mesh with non-default patches of size:
    symmetryWallLeftBottom    20
    freeBoundryLeftBottom    20
    leftSide    20
    bottomToTop    20
    backFaceLeftBottom    400
    frontFaceLeftBottom    400

End