Skip to content

Change in forces sign to get the same results  #2

Open
@tonisusin

Description

@tonisusin

Hi! These days I decided to learn python and found your course very interesting, so two days ago I decided to install everything using conda according to your web page.
I compared the results running in my PC with the ones obtained using the binder link from your web page without changing any parameter. I observed two main differences:(1) The number of generated tets are slightly different: 13098 (local) compared to 16111 (binder). I know this number must not be the same, but I obtain always number below 14000 (local)  and above 15000 with the binder version.This is not worrying but does anyone know why this discrepancy of more than 10%? Of course I prefer less elements, but....
(2) When I do the final simulation and I obtain the deformation values, the plot does not correspond to the one obtained with the binder version. In fact there is an issue with the sign of the force applied to the boundary leveld as 3 that I have changed of sign to obtain similar results:
problem.set_force(3, [0., 0.5, 0])  (in the binder and course versions)problem.set_force(3, [0., -0.5, 0]) (in my local execution).Does anyone know what happens here? It was some orientation problem? or what it is about..(??).
Thanks for your time!!Toni

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