CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

error while performing setField in wigley hull case

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By petros

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2020, 12:10
Default error while performing setField in wigley hull case
  #1
Member
 
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5
vava10 is on a distinguished road
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
vava10 is offline   Reply With Quote

Old   September 24, 2020, 16:04
Default
  #2
Member
 
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5
vava10 is on a distinguished road
I solved the issue.
I don't know how to remove the post.
If anyone could tell me how to I will remove it
vava10 is offline   Reply With Quote

Old   September 25, 2020, 06:36
Default
  #3
Member
 
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 7
petros is on a distinguished road
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
vava10 likes this.
petros is offline   Reply With Quote

Old   September 25, 2020, 09:17
Default
  #4
Member
 
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 5
vava10 is on a distinguished road
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
vava10 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
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


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