CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

InterfaceHeight function object gives unusually large values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2020, 02:33
Default InterfaceHeight function object gives unusually large values
  #1
New Member
 
Malyadeep Bhattacharya
Join Date: Nov 2020
Posts: 5
Rep Power: 5
Malyadeep is on a distinguished road
Hi!


I am trying to obtain the interface height for each time step for an emptying bottle in OpenFOAM using the function object interfaceHeight in the controlDict. The problem is the interface height that is being printed is unusually large (of the order 1e+300). I am posting the function definition below for reference.



It seems I am missing out something. It would be great if anyone can help.


Code:
interfaceHeight1
    {    
        #includeEtc "caseDicts/postProcessing/probes/interfaceHeight.cfg"
    
        alpha      alpha.water;
        locations
        (
            (20 0 300)    
            (0 20 300)    
                   (-20 0 300)    
                (0 -20 300)
        );
        direction       (0 0 -1);    
    }
Thanks in advance
Malyadeep is offline   Reply With Quote

Old   November 15, 2020, 08:52
Default
  #2
New Member
 
Malyadeep Bhattacharya
Join Date: Nov 2020
Posts: 5
Rep Power: 5
Malyadeep is on a distinguished road
I got the problem sorted out. I needed to give the locations in millimeters and not meters.
Malyadeep is offline   Reply With Quote

Reply

Tags
interface height, openfoam, post-processing


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
interFoam and scalarTransport function object with fvOptions sources fusij OpenFOAM Running, Solving & CFD 4 April 18, 2022 07:12
[snappyHexMesh] Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 5 April 15, 2016 04:12
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


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