|
[Sponsors] |
error while performing setField in wigley hull case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 24, 2020, 12:10 |
error while performing setField in wigley hull case
|
#1 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5 |
Hey
I am new to OpenFoam and I am using OpenFoam v-2006 I am working with wigley hull case from https://github.com/OpenFOAM/OpenFOAM...oam/wigleyHull I followed the following steps 1. blockMesh 2. snappyHexMesh -overwrite 3. transformPoints -scale '(2 1 1)' 4. cp 0/alpha1.org 0/alpha1 5. setFields when I run setFields I get the following error: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _b45f8f6f58-20200629 OPENFOAM=2006 Arch : "LSB;label=32;scalar=64" Exec : setFields Date : Sep 24 2020 Time : 17:54:26 Host : LAPTOP-A0NOGRUJ PID : 3337 I/O : uncollated Case : /home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/wigleyHull nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From static Foam::IOstreamOption::compressionType Foam::IOstreamOption::compressionEnum(const Foam::word&, Foam::IOstreamOption::compressionType) in file db/IOstreams/IOstreams/IOstreamOption.C at line 115 Unknown compression specifier 'compressed', using compression off Create mesh for time = 0 Reading setFieldsDict Setting field default values Setting internal values of volScalarField alpha1 --> FOAM FATAL IO ERROR: Cannot find patchField entry for hull file: /home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/wigleyHull/0/alpha1.boundaryField at line 26 to 49. From void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh] in file /home/pawan/OpenFOAM/OpenFOAM-v2006/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 172. FOAM exiting I don't know why I am getting this error is coming I will greatly appreciate if anyone could help me with this. If you need any further information, please ask Regards vava10 |
|
September 24, 2020, 16:04 |
|
#2 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5 |
I solved the issue.
I don't know how to remove the post. If anyone could tell me how to I will remove it |
|
September 25, 2020, 06:36 |
|
#3 |
Member
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 7 |
Hi,
You do not need to remove the post. If you have the solution you may post it under your initial post so that if someone from the community faces the same issue with you in the future he/she can find the answer by a quick search without having to open a new thread. Best, Petros |
|
September 25, 2020, 09:17 |
|
#4 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5 |
hey,
the issue was when I did blockMesh the boundary file created had 'hull' as the surface name, while all other files in the 0 folder had 'hull_wall' as its name. You can resolve the issue by changing all the 'hull_wall' to 'hull' kind regards vava10 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Surface Ship Flow | timfranke | OpenFOAM Running, Solving & CFD | 322 | March 3, 2021 09:04 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
Hydrostatic Pressure and Gravity | miliante | OpenFOAM Running, Solving & CFD | 132 | October 7, 2012 22:50 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |
Wigley hull test case | giovanni ieria | Main CFD Forum | 0 | November 22, 1999 11:30 |