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

ReactingFoam & Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2013, 05:57
Default ReactingFoam & Dynamic Mesh
  #1
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 18
Rep Power: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 1, 2013, 12:06
Default
  #3
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 18
Rep Power: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
post your test case here
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 1, 2013, 12:30
Default
  #5
New Member
 
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 18
Rep Power: 13
yaqb is on a distinguished road
Here it is
Attached Files
File Type: zip reacting_foam_modified.zip (44.0 KB, 44 views)
yaqb 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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 08:27
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 2 May 7, 2020 10:42
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 22:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 08:03
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41


All times are GMT -4. The time now is 22:23.