[Getdp] Time- and space-dependant constraint function with two terms

DILASSER Guillaume Guillaume.DILASSER at cea.fr
Tue Feb 6 11:20:17 CET 2018


Dear GetDP users,

I am facing an issue with the implementation of the constraints on the boundary of my problem.

Basically, I would like to set the value of my unknown variable Phi to be a known time- and space-dependent function on the outer edges of my model. The issue is that the expression for Phi is the sum of two terms with different variations in time : Phi(x,y,t) = A*f(x)*g(t) + B*h(y)*j(t). I have tried several ideas but I did not manage to sum the two terms. Moving the space-dependant functions f and h to the TimeFunction statement of the Constraint block won't work. I did not manage to sum two different Constraint blocks together (create one Constraint block for each term and sum them afterwards).

Is there a solution to do this properly using only the constraint blocks ? Otherwise, I imagine that I could do I by tinkering in the Formulation and Resolution blocks but if I can avoid it I would rather do so.

Thanks for your time and consideration,

Guillaume DILASSER
Ingénieur de recherche / Research engineer

CEA Saclay
Bât.123 - P. 213c
Point courrier n°11
91191 Gif-sur-Yvette Cedex
France

guillaume.dilasser at cea.fr<mailto:guillaume.dilasser at cea.fr>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20180206/4deacad3/attachment.html>


More information about the getdp mailing list