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

thobois class engineTopoChangerMesh error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2011, 15:22
Default thobois class engineTopoChangerMesh error
  #1
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
Hi

I try to set up an engine mesh with canted valves and piston layering. Therefore, I chose the thobois class in the engineTopoChangerMesh class.
I already succeed in running a case with the accordionEngineMesh class but with thobois class, i got the following error. I am running it on 1.6-ext.

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-ext-f3a01becc315
Exec : moveEngineTopoMeshPeter
Date : Jan 26 2011
Time : 19:53:24
Host : linux-ey53.site
PID : 8079
Case : /home/peter/OpenFOAM/peter-1.6-ext/run/meshMotion/Engine_one_Valve
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh

Selecting engineTopoChangerMesh thobois
// using new solver syntax:
rho
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
ft
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
fu
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
b
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
Xi
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
Su
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
h
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
hu
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

// using new solver syntax:
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}

Selecting motion solver: laplaceCellDecomposition
// using new solver syntax:
motionU
{
solver PCG;
preconditioner DIC;
tolerance 1e-10;
relTol 0.0001;
}

Selecting motion diffusivity: quadratic
Time = -540
void Foam::thoboisMesh::addZonesAndModifiers() : Zones and modifiers already present. Skipping.
deckHeight: 0.09
piston position: 0
Point zones found = 4
Face zones found = 2
Cell zones found = 2
Time = -539
bool Foam::layerSmooth::update()
mSolver.updateMesh(topoChangeMap())
deltaZ = 0 Piston at:0
pistonLayerID: 1
**Piston layering mode
setting valve motion b.c.
Valve n. 1 velocity = -0
Valve 0 lift: 1e-05 velocity: -0
valve motion boundary conditions set


--> FOAM FATAL ERROR:
Attempt to cast type fixedValue to type componentMixed

From function refCast<To>(From&)
in file /home/peter/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/typeInfo.H at line 115.

FOAM aborting

Aborted
Any ideas?
Remark: I had to change the addAttachDetachFacesThoboisMesh.H file with addAttachDetachFacesAccordionEngineMesh.H. Otherwise I couldn t create the meshModifiers. The thoboisMesh class looks very similar to the accordionEngineMesh class, but with piston layer.
Peter
Peter_600 is offline   Reply With Quote

Old   January 27, 2011, 11:08
Default
  #2
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 17
Peter_600 is on a distinguished road
I solved the problem.
I have changed in the motionU file the boundary conditions for the piston to componentMixed.
Does anyone knows what is meant by this bc§? I don t understand this boundary conditon. How to set it up?
Anyway the case isn t still working properly.

Peter
Peter_600 is offline   Reply With Quote

Old   June 8, 2011, 09:12
Default
  #3
Member
 
Join Date: Nov 2010
Posts: 86
Rep Power: 16
abminternet is on a distinguished road
Hi Peter,

I am trying now to do the same, tilted valves and piston layering. I am working on the thobois class but started also with the accordionEngine class following your posts, but I can't get it to work. What changes did u need to do? All the point, face and cell Zones for moving and static parts are created, but I am quite confused cause they dont get written as mesh modifiers in any way, so don't know if the code is complete or not :S any ideas? would appreciate it
abminternet is offline   Reply With Quote

Old   May 4, 2013, 09:19
Default
  #4
New Member
 
ILAM
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 14
dreamilam is on a distinguished road
Hi Peter,
I want to do a 3D engine simulation (cold flow) with canted valves. can u please share a tutorial?
dreamilam is offline   Reply With Quote

Old   August 2, 2014, 10:52
Default Using Thobois ?
  #5
New Member
 
Amrinder Singh
Join Date: Oct 2012
Posts: 10
Rep Power: 14
amrinder703 is on a distinguished road
Hello Peter

I am doing PhD in CFD in Mechanical Eng. Department, I am trying to simulate 4 stroke diesel engine with flat head and canted valves around 4 degree. I am trying to use thobois class in OpenFoam Ext 3.1
Am I using right class?
I think you have successfully implemented this class and i think no would better know about this class than you.

I have some queries about some keywords definitions?

detachFaces
movingPoints
movingInternalPoints
staticCells
movingCells
staticPointsName

any demo case or any kind of information would be really helpful.

Thanks
Amrinder Singh
amrinder703 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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 10:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 15:17.