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

SymmetryPlane issue

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By breizhmg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2016, 00:23
Smile SymmetryPlane issue
  #1
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Hi Friends,

I have a problem regarding "symmetryPlane'. I used the same setup to run simpleFoam yesterday and it was working. But I cannot run the same case today.. Could anyone check my error?

Thanks a lot!

markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Building_NV2$ simpleFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0-665f1db4c1f1
Exec : simpleFoam
Date : Oct 12 2016
Time : 15:10:55
Host : "markjin-VirtualBox"
PID : 9024
Case : /home/markjin/OpenFOAM/markjin-4.0/run/Building_NV2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


SIMPLE: convergence criteria
field p tolerance 0.01
field U tolerance 0.001
field "(k|epsilon|omega)" tolerance 0.001

Reading field p



--> FOAM FATAL ERROR:
Attempt to cast type patch to type symmetryPlane

From function To& Foam::refCast(From&) [with To = const Foam::symmetryPlaneFvPatch; From = const Foam::fvPatch]
in file /home/openfoam/OpenFOAM/OpenFOAM-4.0/src/OpenFOAM/lnInclude/typeInfo.H at line 114.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::symmetryPlaneFvPatch const& Foam::refCast<Foam::symmetryPlaneFvPatch const, Foam::fvPatch const>(Foam::fvPatch const&) at ??:?
#3 Foam::symmetryPlaneFvPatchField<double>::symmetryP laneFvPatchField(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:?
#4 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<Foam::symmetryPlaneFvPatchField<double> >::New(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:?
#5 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam:imensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:?
#6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::readField(Foam:imensio nedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:?
#7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) at ??:?
#8 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() at ??:?
#9 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) at ??:?
#10 ? at ??:?
#11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12 ? at ??:?
Aborted (core dumped)
markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Building_NV2$
Mark JIN is offline   Reply With Quote

Old   October 13, 2016, 10:12
Default
  #2
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 196
Rep Power: 17
vatavuk is on a distinguished road
Hi Jin,

Some time ago I had a similar problem. In my case, I misspelled symmetryPlane in the blockMeshDict.

Best Regards,
Paulo
vatavuk is offline   Reply With Quote

Old   October 17, 2016, 03:28
Default
  #3
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Quote:
Originally Posted by vatavuk View Post
Hi Jin,

Some time ago I had a similar problem. In my case, I misspelled symmetryPlane in the blockMeshDict.

Best Regards,
Paulo

Hi vatavuk, thanks for your share.

Best,
Mark
Mark JIN is offline   Reply With Quote

Old   April 20, 2020, 02:55
Default
  #4
New Member
 
parth
Join Date: Feb 2020
Posts: 23
Rep Power: 6
parthigcar is on a distinguished road
Hi,

Any update on this??


I am also getting same error.
parthigcar is offline   Reply With Quote

Old   February 14, 2023, 04:34
Default
  #5
New Member
 
breizhmg's Avatar
 
john
Join Date: Oct 2017
Posts: 1
Rep Power: 0
breizhmg is on a distinguished road
Hello,

Just had the same error because I had updated files in folder 0 but not in folder polyMesh.

You have to update files in folder 0 with the symmetryPlane condition, e.g.:

sidewall
{
type symmetryPlane;
}

But also update your constant/polyMesh/boundary files, e.g:

sidewall
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 50;
startFace 817;
}
parthigcar likes this.
breizhmg 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
simpleFoam convergence issue Harnoor OpenFOAM Running, Solving & CFD 13 November 16, 2016 08:23
Issue symmetryPlane 2.5d extruded airfoil simulation 281419 OpenFOAM Running, Solving & CFD 5 November 28, 2015 13:09
[Other] Override symmetryPlane Boundary condition gwj_gavin OpenFOAM Meshing & Mesh Conversion 0 December 1, 2014 16:46
Divergent temperature in chtMultiRegion(Simple)Foam akrasemann OpenFOAM Running, Solving & CFD 13 March 24, 2014 02:54
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03


All times are GMT -4. The time now is 18:31.