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.
Periodic boundary conditions
Posted 29 oct. 2009, 08:34 UTC−4 0 Replies
Please login with a confirmed email address before reporting spam
I'm solving a system of coupled differential equations on a linear mesh with periodic boundary conditions imposed to join the ends.
I am having two problems.
1. I want to define a random spatial distribution as initial condition.
2. I want to apply periodic boundary conditions.
But I am not able to match the two aims.
I try using the MATLAB rand() function to generate randomness, but I am unaware of how to couple this in a functional form with x to lead to a random distribution over the mesh points. After generation of the random distribution I need to ensure the end points match.
Could anyone help me. I am a beginner with COMSOL
Thanks for your help
Sincerely,
More
Hello More Sushant
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.