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

Problems with cyclic boundaries in faMeshDefinition and surfactantFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 4, 2011, 17:43
Default Problems with cyclic boundaries in faMeshDefinition and surfactantFoam
  #1
New Member
 
Sam Fredriksson
Join Date: Dec 2010
Posts: 20
Rep Power: 15
safre is on a distinguished road
I would like to use a solver similar to surfactantFoam but the with the finite volume solution to update the finite area velocity field. This works fine but I have problems with setting up the faMeshDefinition file and the surfactant concentration file Cs in the 0 directory when I use cyclic boundary conditions. The makeFaMesh is doing fine and creates the faBoundary file as it should but when I start the solver and the solver reads the Cs file I get.

"Floating point exception".

The setup works for other boundary conditions but not the cyclic one. Does anyone has experienced the same or what is wrong?

Plaes find my faMeshDefinition and mys Cs file below.

faMeshDefinition:

polyMeshPatches 1( surface );

boundary
{
frontAndBack
{
type cyclic;
ownerPolyPatch surface;
neighbourPolyPatch frontAndBack;
}

side
{
type cyclic;
ownerPolyPatch surface;
neighbourPolyPatch side;
}
}

Cs:
dimensions [1 -2 0 0 0 0 0];

internalField uniform 0;

referenceLevel 0;

boundaryField
{
frontAndBack
{
type cyclic;
}

side
{
type cyclic;
}
}

Best regards, Sam
safre is offline   Reply With Quote

 


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



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