Skip to content

FOAM FATAL IO ERROR when parallel computing due to improper file formatting #46

@physici

Description

@physici

I ran into an issue with Helyx 2.4.0 under Ubuntu 20.04 when trying to run parallel simulations.

[0] --> FOAM FATAL IO ERROR:
[0] size 0 is not equal to the given value of 122
[0]
[0] file: /processor0/0/U.boundaryField.Inlet_duct from line 8416 to line 8417.

This error can be reproduced when trying to set set boundary conditions in the "Case Setup" tab without actualing changing something. For example, when the default value of the boundary is already the desired one. In this case saving the file sometimes creates some blanks between the keyword "value" and the actual value (as marked red in the image). If the solver is then started it complains with the given error message.

The error can be solved by selecting a different boundary setting, e.g. ZeroGradient, then saving the file, set the boundary back to the required one and save again. It can happen that this has to be repeated multiple times until each boundary has been properly written as it seems to happen that after one bc has been corrected the error appears in the next.

Screenshot_Boundaries_NOK_LI
Screenshot_Boundaries_OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions