Replies: 1 comment
-
|
Try soft constraints. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to implement a Hard Initial Condition for my 2 output variables 'h' and 'u' in a 1D time dependent problem.
The initial condition is that:
if x < dam_location, h = dam_height, else h = 0
And u = 0 everywhere
I tried to implement the hard IC as follows:
The initial condition is nicely satisfied but the results for rest of the time steps are very poor and almost near to zero. I am afraid there might have been some error in applying the output transform. But I cant seem to get my head around what exactly the error is.
Any help is greatly appreciated. Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions