Skip to content

Wall solver reports final wall velocity even though the pressure if still large #289

@niemilau

Description

@niemilau

When testing collisions with the Yukawa model the wall solving seemed to behave weirdly. In one instance it tried:
vw = 0.621781, 0.001, 0.002, 0.004, 0.0518086, 0.00458875, 0.004 (again!)
and then reported vw = 0.00400 as the final wall speed, even though the pressure was still of order 1e+06.

The small velocities here are probably in part due to incorrect collision model (which I didn't check), but even still this seems like a bug in the wall solver.

Edit: it also reports a very large error:
wallVelocityError: 0.541702

Steps to reproduce:

Go to branch ChangeCollisionConventions (will be on main soon), recompile and install the collision module and run:
python Models/Yukawa/yukawa.py --recalculateCollisions --momentumGridSize 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions