Skip to content

Order of Param makes a difference. #377

@ggruszczynski

Description

@ggruszczynski

I found that Order of Param in Model makes a difference.
I thought that only Order of <Boxes> in Geometry makes a difference.

My configuration:

./configure --enable-rinside --enable-double --enable-graphics --enable-cpp11 --with-cuda-arch=sm_75 

I was running with GPU SERIAL CUDA

[  ] -------------------------------------------------------------------------
[  ] -  CLB version:       v6.5.0-64-g018acb8b                               -
[  ] -        Model:       d2q9_pf_velocity_CM                               -
[  ] -------------------------------------------------------------------------

https://github.com/ggruszczynski/TCLB/tree/d2q9_pf_cm_p_and_v
(core as in develop)

I was running with:

CLB/d2q9_pf_velocity_CM/main example/multiphase/d2q9_pf_velocity/mrt_dam_break.xml 
CLB/d2q9_pf_velocity_CM/main example/multiphase/d2q9_pf_velocity/cm_dam_break.xml 

In
https://github.com/CFD-GO/TCLB/blob/develop/example/multiphase/d2q9_pf_velocity/mrt_dam_break.xml
https://github.com/CFD-GO/TCLB/blob/develop/example/multiphase/d2q9_pf_velocity/cm_dam_break.xml

Order of Param makes a difference. I get this error:

No water:

<Param name="PhaseField_init" value="1.0" zone="water"/>
<Param name="PhaseField_init" value="0.0"/>

Good:

<Param name="PhaseField_init" value="0.0"/>
<Param name="PhaseField_init" value="1.0" zone="water"/>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions