CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

ReactingFoam & Dynamic Mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 1, 2013, 05:57
Default ReactingFoam & Dynamic Mesh
  #1
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 16
Rep Power: 4
yaqb is on a distinguished road
Hello All !


I am trying to run reactingFoam with dynamic Mesh.
My basic idea is very simple - I would like to simulate the regression rate of the fuel during the burning process.

I set dynamicMeshDict

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver velocityLaplacian;

diffusivity uniform;
// ************************************************** *********************** //


,and run it, but all the time get the same error:

--> FOAM FATAL ERROR:
Different dimensions for +=
dimensions : [1 0 -1 0 0 0 0] = [0 3 -1 0 0 0 0]


From function dimensionSet:perator+=(const dimensionSet&) const
in file dimensionSet/dimensionSet.C at line 241.

FOAM aborting



Do you have any idea where can I search for the mistake?
In BC there is no parameter with dimensions [1 0 -1 0 0 0 0] , so I am not sure what does the solver wants from me?
yaqb is offline   Reply With Quote

Old   July 1, 2013, 11:28
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
OpenFOAM analyses for dimension compatibility, so before it solves an equation, it investigates whether parameters have the same dimension of not ,

so check it with out dynamic mesh, maybe your input dimension for p, u r something else is wrong, i think its not related to dynamic mesh
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   July 1, 2013, 12:06
Default
  #3
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 16
Rep Power: 4
yaqb is on a distinguished road
Thanks for the replay!

In fact if I just run pure reactingFoam case than it works perfect however when I try to use reactingFoamDynamic it crashes.
There is only one additional BC added - pointMotionU - responsible for the mesh motion.

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
object pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);



boundaryField
{
fuel
{
type fixedValue;
value uniform (0.1 0 0);
}
air
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
Up
{
type fixedValue;
value uniform (0 0 0);
}
Bottom
{
type fixedValue;
value uniform (0.1 0 0);
}
}


And here it is m/s so everything seems to be ok. Any idea where I should search for the mistake?
yaqb is offline   Reply With Quote

Old   July 1, 2013, 12:17
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
post your test case here
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   July 1, 2013, 12:30
Default
  #5
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 16
Rep Power: 4
yaqb is on a distinguished road
Here it is
Attached Files
File Type: zip reacting_foam_modified.zip (44.0 KB, 18 views)
yaqb is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 22:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 1 July 28, 2011 01:53
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41


All times are GMT -4. The time now is 00:33.