|
[Sponsors] |
Attempt to cast type dynamicOversetFvMesh to type dynamicMotionSolverFvMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 8, 2021, 00:35 |
Attempt to cast type dynamicOversetFvMesh to type dynamicMotionSolverFvMesh
|
#1 |
New Member
Abhijit
Join Date: Aug 2020
Location: India
Posts: 27
Rep Power: 5 |
I am doing an OpenFoam case with two cylinders in tandem arrangement with overset mesh- a background mesh, one refinement zone and two cylinder mesh. I am using overPimpleDyMFoam but got this error: Attempt to cast type dynamicOversetFvMesh to type dynamicMotionSolverFvMesh.
This is my dynamicMeshDict: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: plus-overset | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // motionSolverLibs ("libsixDoFRigidBodyMotion.so"); dynamicFvMesh dynamicOversetFvMesh; /* dynamicOversetFvMeshCoeffs { // layerRelax 0.3; } */ //motionSolverLibs ( "libfvMotionSolvers.so" ); // //solver displacementLaplacian; // //displacementLaplacianCoeffs //{ // diffusivity uniform 1; //} solver sixDoFRigidBodyMotion; sixDoFRigidBodyMotionCoeffs { patches (cylinder1); patches (cylinder2); innerDistance 100.0; outerDistance 101.0; mass 1.5707963; centreOfMass (0 0 0); momentOfInertia (1 1 1); orientation ( 1 0 0 0 1 0 0 0 1 ); velocity (0 0 0); acceleration (0 0 0); angularMomentum (0 0 0); torque (0 0 0); g (0 0 0); rho rhoInf; rhoInf 1; accelerationRelaxation 0.9; accelerationDamping 0.95; report on; reportToFile on; solver { type Newmark; } constraints { yLine_1 { sixDoFRigidBodyMotionConstraint line; direction (0 1 0); } noAxis_1 { sixDoFRigidBodyMotionConstraint orientation; } } restraints { verticalSpring_1 { sixDoFRigidBodyMotionRestraint linearSpring; anchor (0 2 0); refAttachmentPt (0 0 0); stiffness 1.72257; damping 0; restLength 2; } } } ************************************************** *********************** // Last edited by Redrakham; March 8, 2021 at 06:04. |
|
March 8, 2021, 06:08 |
|
#2 |
New Member
Abhijit
Join Date: Aug 2020
Location: India
Posts: 27
Rep Power: 5 |
This is my case files..
|
|
March 9, 2021, 16:35 |
Athanasios Niotis
|
#3 |
New Member
Athanasios Niotis
Join Date: Aug 2018
Posts: 12
Rep Power: 7 |
Hello there,
I do have the same problem with the overset. My case runs with version v1906 but not with version v1912. If you find any solution please post it. Best regards, Athanasios Niotis |
|
March 10, 2021, 00:21 |
|
#4 |
New Member
Abhijit
Join Date: Aug 2020
Location: India
Posts: 27
Rep Power: 5 |
You can refer to this thread: multiple patches in toposet and setfields overset problem for sixdofrigidbodymotion.
But the problem of writing the sixdofrigidbodystate still remains. I work around this problem by 'awk' command from log.solver. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instability in buoyantSimpleFoam | Avandri | OpenFOAM Running, Solving & CFD | 0 | August 7, 2020 16:13 |
time step continuity problem in VAWT simulation | lpz_michele | OpenFOAM Running, Solving & CFD | 5 | February 22, 2018 19:50 |
inlet pressure is higher than outlet pressure for fan | sivakumar | OpenFOAM Pre-Processing | 16 | December 30, 2017 14:16 |
Divergent temperature in chtMultiRegion(Simple)Foam | akrasemann | OpenFOAM Running, Solving & CFD | 13 | March 24, 2014 02:54 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 14:16 |