Thank you for you answer. Yes, that would make the modelling a lot easier.
I found a siplified solution for now. I added short beams at the beginning and at the end of the beam with the same E and A but with a lot smaller I2 and I3. With this method…