CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Technical] CCMIO Library 32-bit label maximum

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2019, 18:48
Default CCMIO Library 32-bit label maximum
  #1
New Member
 
Join Date: Mar 2016
Posts: 23
Rep Power: 10
miragemobile is on a distinguished road
Hello everyone,

I am working with converting larger Star-CCM+ meshes into OpenFOAM. I'm currently exceeding the 32-bit label maximum, as the converter is written using doubles and int_32t variable type.

Has anyone implemented a 64-bit label version of this utility?

from the wmake/script/have_ccmio file:

Code:
    # ----------------------------------

    # The libccmio uses int32_t.
    # The OpenFOAM adapter thus requires additional work for 64-bit labels.
    # The OpenFOAM adapter was originally only designed for 'double'

    local good

    if [ "$WM_LABEL_SIZE" = 32 ]
    then
        if [ "$WM_PRECISION_OPTION" = DP ]
        then
            good=true
        else
            [ -n "$warn" ] && echo "$warn (double precision only)"
            no_ccmio
            return 1
        fi
    else
        [ -n "$warn" ] && echo "$warn (32-bit labels only)"
        no_ccmio
        return 1
    fi
	# ----------------------------------
miragemobile 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
Saved in Workbench 32 bit, open in Workbench 64 bit. Black Ni ANSYS 2 July 28, 2011 09:32
Issue with running in parallel on multiple nodes daveatstyacht OpenFOAM 7 August 31, 2010 17:16
64 Bit software or 64 bit compatibility? EphemeralMemory ANSYS 1 August 31, 2010 05:29
UDF problem/32 bit vs. 64 bit RE13 FLUENT 2 February 25, 2008 11:31
fluent 32 bit maximum RAM Mike FLUENT 2 August 19, 2006 09:45


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