|
[Sponsors] |
September 24, 2018, 06:24 |
Problems with interfaceHeight
|
#1 |
New Member
Christian Jähnel
Join Date: Nov 2016
Posts: 11
Rep Power: 10 |
Hello Foamers!
I am facing a problem since I found the postProcessing tool "interfaceHeight". Does anybody of you has experience with that? I get the following error message: Code:
Create time Create mesh for time = 0 Time = 0 Reading fields: Executing functionObjects --> FOAM FATAL ERROR: request for uniformDimensionedVectorField g from objectRegistry region0 failed available objects of type uniformDimensionedVectorField are 0() From function const Type &Foam::objectRegistry::lookupObject(const Foam::word &) const [with Type = Foam::UniformDimensionedField<Foam::Vector<double>>] in file /sw/taurus/applications/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 ? at turbulentFluidThermoModels.C:? #3 ? at interfaceHeight.C:? #4 Foam::functionObjects::interfaceHeight::write() at ??:? #5 Foam::functionObjects::timeControl::write() at ??:? #6 Foam::functionObjectList::execute() at ??:? #7 ? at postProcess.C:? #8 ? at ??:? #9 __libc_start_main in "/usr/lib64/libc.so.6" #10 ? at ??:? Aborted For my understanding g can only be a uniformDimensionedVectorField?! What else should it be? interfaceHeight-file: Code:
#includeEtc "caseDicts/postProcessing/probes/interfaceHeight.cfg" alpha alpha.water; locations ( (0 0 0) ); Here is my g-file: Code:
FoamFile { version 2.0; format ascii; class uniformDimensionedVectorField; location "constant"; object g; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -2 0 0 0 0]; value (0 0 -9.81); // ************************************************************************* // Thanks in advance. Last edited by ch_jaehnel; September 24, 2018 at 07:45. |
|
March 22, 2019, 05:58 |
|
#2 |
New Member
Juan Pablo Carbajal
Join Date: Mar 2019
Posts: 1
Rep Power: 0 |
Try running the postprocessing with the solver. I do not think your saved solutions have all the information interfaceHeight needs.
Code:
interFoam -postProcess -func interfaceHeight |
|
November 1, 2020, 20:46 |
interface height along a slant wall
|
#3 |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 |
I am working to obtain contact line motion in a container. I am thinking of obtaining interface height along a wall and then for velocity, I will take the difference of the location of 2 subsequent timestep divided by time difference. But I am unable to get the location of interface along the slant wall. It would be helpful if anyone can provide any suggestion regarding it.
I have used this code in controldict functions { #includeFunc residuals #includeFunc interfaceHeight interfaceHeight1 { type interfaceHeight; libs ("libfieldFunctionObjects.so"); alpha alpha.water; locations ((0 0 0)); direction (0.0064 0.024 0); } } direction in this I assumed it to be ray from ( 0 0 0) to (0.0064 0.024 0). That's my slant wall direction. Thanks Regards |
|
Tags |
interfaceheight, postprocessing, probe function |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 12:12 |
[mesh manipulation] Problems with rotational cyclic boundaries | TReviol | OpenFOAM Meshing & Mesh Conversion | 8 | July 11, 2014 04:45 |
[ICEM] Flow channel meshing problems | StefanG | ANSYS Meshing & Geometry | 19 | May 15, 2012 07:44 |
Two-phase air water flow problems by activating Wall Lubrication Force | challenger85 | CFX | 5 | November 5, 2009 06:44 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 12:00 |