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

trying to setup a moving mesh case (rotating

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2018, 10:13
Default trying to setup a moving mesh case (rotating
  #1
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
hi all see below trying to simulate a gear pump with two gears in a housing with inlet and outlet.

Last edited by Thecomebackkid; August 4, 2018 at 14:48. Reason: mistakes in post
Thecomebackkid is offline   Reply With Quote

Old   August 2, 2018, 11:26
Default
  #2
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
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 is offline   Reply With Quote

Old   August 4, 2018, 14:19
Default
  #3
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
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 is offline   Reply With Quote

Old   August 4, 2018, 15:22
Default
  #4
New Member
 
zeshan
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Thecomebackkid is on a distinguished road
Quote:
Originally Posted by Thecomebackkid View Post
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.
Thecomebackkid 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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[Other] How to set up a dynamic mesh for a piston moving through a tube of variable diameter? karkar OpenFOAM Meshing & Mesh Conversion 0 July 4, 2012 06:54
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 10:21.