CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

different results form openfoam 3.0.1 to 1912

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2020, 03:09
Angry different results form openfoam 3.0.1 to 1912
  #1
New Member
 
hezhiwei
Join Date: Mar 2019
Posts: 1
Rep Power: 0
yuno is on a distinguished road
the case dir : `$FOAM_TUTORIALS/multiphase/interDyMFoam/ras/floatingObject` for 3.0.1
`$FOAM_TUTORIALS/multiphase/interFoam/RAS/floatingObject` for 1912
the differences between these case :
================================= BEGIN: alpha.water ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: alpha.water =============================

================================= BEGIN: epsilon ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: epsilon =============================

================================= BEGIN: k ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: k =============================

================================= BEGIN: nut ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: nut =============================

================================= BEGIN: pointDisplacement ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: pointDisplacement =============================

================================= BEGIN: p_rgh ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
31,36d30
< U U;
< phi phi;
< rho rho;
< psi none;
< gamma 1;
< value uniform 0;

================================= END: p_rgh =============================

================================= BEGIN: U ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
26,27c26
< type fixedValue;
< value uniform (0 0 0);
---
> type noSlip;

================================= END: U =============================

================================= BEGIN: dynamicMeshDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
13c13
< object motionProperties;
---
> object dynamicMeshDict;
19c19
< motionSolverLibs ("libsixDoFRigidBodyMotion.so");
---
> motionSolverLibs (sixDoFRigidBodyMotion);
21c21
< solver sixDoFRigidBodyMotion;
---
> motionSolver sixDoFRigidBodyMotion;
37c37
< rho 500;
---
> rhoSolid 500;
40c40
< mass #calc "$rho*$Lx*$Ly*$Lz";
---
> mass #eval{ $rhoSolid*$Lx*$Ly*$Lz };
62a63
> //accelerationDamping 0;

================================= END: dynamicMeshDict =============================

================================= BEGIN: g ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: g =============================

================================= BEGIN: transportProperties ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
23,24c23,24
< nu [0 2 -1 0 0 0 0] 1e-06;
< rho [1 -3 0 0 0 0 0] 998.2;
---
> nu 1e-06;
> rho 998.2;
30,31c30,31
< nu [0 2 -1 0 0 0 0] 1.48e-05;
< rho [1 -3 0 0 0 0 0] 1;
---
> nu 1.48e-05;
> rho 1;
34c34
< sigma [1 0 -2 0 0 0 0] 0;
---
> sigma 0;

================================= END: transportProperties =============================

================================= BEGIN: turbulenceProperties ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: turbulenceProperties =============================

================================= BEGIN: blockMeshDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
17c17
< convertToMeters 1;
---
> scale 1;

================================= END: blockMeshDict =============================

================================= BEGIN: controlDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
18c18
< application interDyMFoam;
---
> application interFoam;
30c30
< writeControl adjustableRunTime;
---
> writeControl adjustable;
40c40
< writeCompression uncompressed;
---
> writeCompression off;

================================= END: controlDict =============================

================================= BEGIN: decomposeParDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
13d12
< location "system";
21,42d19
<
< simpleCoeffs
< {
< n (2 2 1);
< delta 0.001;
< }
<
< hierarchicalCoeffs
< {
< n (2 2 1);
< delta 0.001;
< order xyz;
< }
<
< manualCoeffs
< {
< dataFile "";
< }
<
< distributed no;
<
< roots ( );

================================= END: decomposeParDict =============================

================================= BEGIN: fvSchemes ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
20c20
< default CrankNicolson 0.9;
---
> default CrankNicolson 0.5;

================================= END: fvSchemes =============================

================================= BEGIN: fvSolution ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
22c22
< nAlphaCorr 2;
---
> nAlphaCorr 3;
28c28
< alphaApplyPrevCorr true;
---
> alphaApplyPrevCorr yes;
45,51c45
< nPreSweeps 0;
< nPostSweeps 2;
< nFinestSweeps 2;
< cacheAgglomeration false;
< nCellsInCoarsestLevel 10;
< agglomerator faceAreaPair;
< mergeLevels 1;
---
> cacheAgglomeration no;
65,71d58
< nPreSweeps 0;
< nPostSweeps 2;
< nFinestSweeps 2;
< cacheAgglomeration true;
< nCellsInCoarsestLevel 10;
< agglomerator faceAreaPair;
< mergeLevels 1;
85,90d71
< nPostSweeps 2;
< nFinestSweeps 2;
< cacheAgglomeration true;
< nCellsInCoarsestLevel 10;
< agglomerator faceAreaPair;
< mergeLevels 1;

================================= END: fvSolution =============================

================================= BEGIN: setFieldsDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |

================================= END: setFieldsDict =============================

================================= BEGIN: topoSetDict ==============================
4,5c4,5
< | \\ / O peration | Version: 3.0.1 |
< | \\ / A nd | Web: www.OpenFOAM.org |
---
> | \\ / O peration | Version: v1912 |
> | \\ / A nd | Website: www.openfoam.com |
25,28c25
< sourceInfo
< {
< box (0.35 0.35 0.1) (0.65 0.55 0.6);
< }
---
> box (0.35 0.35 0.1) (0.65 0.55 0.6);

================================= END: topoSetDict =============================

After calculation, use the position of "centre of mass" to plot following figure:






motionX.png

motionY.png

motionZ.png
Question: which is right or none?

Last edited by yuno; September 28, 2020 at 04:15.
yuno is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
How to export Ansys Fluent results to OpenFOAM? anon_q OpenFOAM 1 April 5, 2018 07:25
[General] CSV and OpenFOAM results simultaneously danielece04 ParaView 0 February 20, 2018 04:44
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 18:26.