Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Constraining the results between 0 and pi

Fernando J. Pena Cantu

Please login with a confirmed email address before reporting spam

Hi I am trying to model nematic liquid crystal behaviour under an electric field.

To do this I solve the following PDE.

Where is the angle of the liquid crystals with respect to the x axis. The direction of the liquid crystal is represented by the vector . The main problem that I have is that for nematic liquid crystals n and -n are the same thing as such is periodic and only values between 0 and pi should be allowed. Is there a way to constrain the results to only be within this range.


0 Replies Last Post Jun 9, 2020, 11:08 p.m. EDT
COMSOL Moderator

Hello Fernando J. Pena Cantu

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.