2D meshing

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

User avatar
oliveroxtoby
Posts: 810
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: 2D meshing

Post by oliveroxtoby »

thschrader wrote: Fri Jul 15, 2022 9:35 am Here is an example, rotational mesh at 45 deg.
Meshing works, but sim does not run.
I think this is working now.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2D meshing

Post by thschrader »

Works. In single cpu-mode. When using parallel option,
decomposepar.exe stops with error:

Code: Select all

09:08:55  Generating stack trace...
09:08:57  
Backtrace:
	ZN10StackTraceC1Ev [0x626c1855+0x25]
		 module: C:\PROGRA~1\BLUECF~2\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
	ZN4Foam5error10printStackERNS_7OstreamE [0x6c30ae5a+0x23a]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
	ZN4Foam7sigSegv14sigSegvHandlerEi [0x6c30bb03+0x33]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
	(No symbol) [0x41bc22]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
	_C_specific_handler [0x7ffe89c27ff8+0x98]
		 module: C:\WINDOWS\System32\msvcrt.dll
	0_chkstk [0x7ffe8a95209f+0x11f]
		 module: C:\WINDOWS\SYSTEM32\ntdll.dll
	RtlRaiseException [0x7ffe8a901454+0x434]
		 module: C:\WINDOWS\SYSTEM32\ntdll.dll
	KiUserExceptionDispatcher [0x7ffe8a950bce+0x2e]
		 module: C:\WINDOWS\SYSTEM32\ntdll.dll
	ZN4Foam11hexRef8DataC1ERKNS_8IOobjectERKS0_RKNS_4ListIiEES9_ [0x63702ec4+0x1c4]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libdynamicMesh.dll
	(No symbol) [0x412257]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
	(No symbol) [0x4f2d39]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
	(No symbol) [0x4013c1]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
	(No symbol) [0x4014f6]
		 module: C:\PROGRA~1\BLUECF~2\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\decomposePar.exe
	BaseThreadInitThunk [0x7ffe89eb7034+0x14]
		 module: C:\WINDOWS\System32\KERNEL32.DLL
	RtlUserThreadStart [0x7ffe8a902651+0x21]
		 module: C:\WINDOWS\SYSTEM32\ntdll.dll
09:08:58  
With 2D-planar mesh, multi cpu works:
naca2412_2DplanarMesh.FCStd
(399.31 KiB) Downloaded 43 times
curved_wing002.JPG
curved_wing002.JPG (34.68 KiB) Viewed 732 times
User avatar
oliveroxtoby
Posts: 810
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: 2D meshing

Post by oliveroxtoby »

thschrader wrote: Sun Jul 17, 2022 7:22 am Works. In single cpu-mode. When using parallel option,
decomposepar.exe stops with error:
Thank you for the testing. This should be ok now.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2D meshing

Post by thschrader »

Yes, works, thanks a lot.
Report function is very useful.
45 degree mesh, F-total vector points in 22,5 deg (=pi/8).
This matches with the forces, negative y-vector, + z vector components.
Very nice!
it_works.JPG
it_works.JPG (86.52 KiB) Viewed 653 times
Post Reply