|
[Sponsors] |
Capillary flow in open rectangular microchannel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2023, 03:09 |
Capillary flow in open rectangular microchannel
|
#1 |
New Member
Gaurav Kumar
Join Date: Jun 2022
Location: Japan
Posts: 6
Rep Power: 4 |
I am trying to simulate capillary flow in a 3D open rectangular microchannel using interFoam. I modified the capillary rise tutorial example to make it for an open channel.
After I run the simulation, the results don't look correct. The fluid is not moving and the free surface is not visible. Nomenclature: wallss - open surface wall - microchannel walls open.JPG Can anyone help identify the problem? Here is my source code: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object alpha.water; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type inletOutlet; value uniform 1; inletValue uniform 1; } atmosphere { type zeroGradient; } walls { type constantAlphaContactAngle; theta0 30; limit gradient; value uniform 0; } wallss { type inletOutlet; inletValue uniform 0; value uniform 0; } defaultFaces { type empty; } } // ************************************************** *********************** // /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type fixedValue; value uniform 0; } atmosphere { type fixedValue; value uniform 0; } walls { type fixedFluxPressure; } wallss { type totalPressure; p0 uniform 0; } defaultFaces { type empty; } } // ************************************************** *********************** // /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type pressureInletOutletVelocity; value uniform (0 0 0); } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } walls { type noSlip; } wallss { type pressureInletOutletVelocity; value uniform (0 0 0); } defaultFaces { type empty; } } // ************************************************** *********************** // |
|
Tags |
free surface flow, interface bc, interfoam surface tension, micro channel, open channel flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 17:18 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |