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

Problem with laplacian operator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2015, 08:02
Default Problem with laplacian operator
  #1
New Member
 
Join Date: Feb 2015
Posts: 1
Rep Power: 0
mcailloux is on a distinguished road
Dear OpenFOAM users,

I am trying to implement diffusion between two phases in the already existed compressibleMultiphaseInterFoam. To do that, I have taken some parts of the interMixing solver and add it to the compressibleMultiphaseInterFoam solver.

It leads to solve the alpha for the two miscibles phases like that :

fvScalarMatrix alphaEqn
(
fvm::ddt(alpha)
+ fvc::div(phiAlpha)
- fvm::laplacian(Dc23 + Dc32, alpha)
- Su
- alpha*Sp
);
alphaEqn.solve();

Adding diffusion leads me to add the laplacian operator in the equation from the basic compressibleMultiphaseInterFoam solver.

And my problem is that the laplacian term gives me some strange behaviour since I have a normal evolution of the volume fractions in my run case in 2D (only 1 cell is the z direction) but in a 3D case, the volume fraction doesn't move any more and stays the same as in the initial time.

Moreover, when I comment the line containing the laplacian, my solver gives me logical results even in 3D. So that I conclude that my problem for the run in 3 dimensions is directly linked to the addition of the laplacian operator but I don't have any idea to understand why...

Many thanks for your help.

Mathieu
mcailloux 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
conduction problem venkataramana OpenFOAM 3 December 1, 2013 07:30
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 19:42
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 05:34.