CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   trying to setup a moving mesh case (rotating (https://www.cfd-online.com/Forums/openfoam-solving/204848-trying-setup-moving-mesh-case-rotating.html)

Thecomebackkid August 2, 2018 10:13

trying to setup a moving mesh case (rotating
 
hi all see below trying to simulate a gear pump with two gears in a housing with inlet and outlet.

Thecomebackkid August 2, 2018 11:26

i know that i may have to use cellZones but not sure how to do that. also something about using setSet i have read to do this but its still not clear to me....

Thecomebackkid August 4, 2018 14:19

ok so I decided to use 2 mrfs and a fluid domain, I have nearly running code:

Zeshan@LAPTOP-4GI61R9B MINGW64 OpenFOAM-5.x ~/blueCFD/ofuser-of5/run/propeller
$ pimpleDyMFoam.exe
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
/* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\
| Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com |
\*---------------------------------------------------------------------------*/
Build : 5.x-963176928289
Exec : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/pimpleDyMFoam.exe
Date : Aug 04 2018
Time : 19:14:28
Host : "LAPTOP-4GI61R9B"
PID : 4588
I/O : uncollated
Case : C:/PROGRA~1/BLUECF~1/ofuser-of5/run/propeller
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: solidBody
Selecting solid-body motion function rotatingMotion
Applying solid body motion to cellZone GEARDVN

PIMPLE: no residual control data found. Calculations will employ 2 corrector loops

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
bounding k, min: 0 max: 1 average: 1
bounding epsilon, min: 0 max: 20 average: 20
RAS
{
RASModel kEpsilon;
turbulence on;
printCoeffs on;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 0;
sigmak 1;
sigmaEps 1.3;
}

Creating MRF zone list from MRFProperties
creating MRF zone: GEARDRV
creating MRF zone: GEARDVN
Reading/calculating face velocity Uf

No finite volume options present

Courant Number mean: 5.56688e-007 max: 0.000255208
Generating stack trace...


Backtrace:
ZN10StackTraceC1Ev [0x705c1465+0x25]
module: C:\PROGRA~1\BLUECF~1\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_tra ce.dll
ZN4Foam5error10printStackERNS_7OstreamE [0xfa1c88+0x218]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFO AM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0xfa2af3+0x33]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFO AM.dll
(No symbol) [0x4047cd]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\pimpleDyM Foam.exe
_C_specific_handler [0x7ffcdbc57c58+0x98]
module: C:\WINDOWS\System32\msvcrt.dll
0_chkstk [0x7ffcde4deced+0x11d]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7ffcde446c86+0x13f6]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7ffcde4ddc1e+0x2e]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
ZN4Foam6divideERNS_5FieldIdEERKNS_5UListIdEES6_ [0xf47f65+0x25]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFO AM.dll
ZN4Foam6divideINS_12fvPatchFieldENS_7volMeshEEEvRN S_14GeometricFieldIdT_T0_EERKS6_S9_ [0x708455e0+0xb0]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libincomp ressibleTurbulenceModels.dll
ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpI NS_14GeometricFieldIdT_T0_EEEERKS8_RKS7_ [0x7089097f+0x26f]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libincomp ressibleTurbulenceModels.dll
ZN4Foam9RASModels8kEpsilonINS_29IncompressibleTurb ulenceModelINS_14transportModelEEEE10correctNutEv [0x70881172+0x52]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libincomp ressibleTurbulenceModels.dll
(No symbol) [0x453f25]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\pimpleDyM Foam.exe
(No symbol) [0x4013f7]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\pimpleDyM Foam.exe
(No symbol) [0x40152b]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\pimpleDyM Foam.exe
BaseThreadInitThunk [0x7ffcdd603034+0x14]
module: C:\WINDOWS\System32\KERNEL32.DLL
RtlUserThreadStart [0x7ffcde4b1431+0x21]
module: C:\WINDOWS\SYSTEM32\ntdll.dll

Zeshan@LAPTOP-4GI61R9B MINGW64 OpenFOAM-5.x ~/blueCFD/ofuser-of5/run/propeller
$


what could be making it break? it is not making first timestep I see...

can anyone help?

Thecomebackkid August 4, 2018 15:22

Quote:

Originally Posted by Thecomebackkid (Post 701333)
i know that i may have to use cellZones but not sure how to do that. also something about using setSet i have read to do this but its still not clear to me....

solved this setSet allows you to create the cellZones:):) but my code is still not running.


All times are GMT -4. The time now is 16:27.