mesh structures not square/circle/rectangular

Asked by Hossein Nili

Hi

If I want the top boundary of my problem domain to be "irregularly" shaped, e.g. to have a wave-form shape (defined by a sinusoidal function for example), do I have to draw it somewhere else (if so, could you please tell me where) and call it up in the FEniCS script, or are there built-in functions for defining non-regular domain boundaries?

I can easily define an inner boundary to be wave-like, but when it comes to the outer boundaries of the problem domain I seem to be forced to use the mesh = ... command, which - apparently - only allows for right-angled structures. Is there a way round this?

Many thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Patrick Farrell (pefarrell) said :
#1

See section 10.3.11 of the FEniCS book.

Revision history for this message
Jan Blechta (blechta) said :
#2

On Mon, 25 Mar 2013 18:06:08 -0000
Hossein Nili <email address hidden> wrote:
> New question #225133 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/225133
>
> Hi
>
> If I want the top boundary of my problem domain to be "irregularly"
> shaped, e.g. to have a wave-form shape (defined by a sinusoidal
> function for example), do I have to draw it somewhere else (if so,
> could you please tell me where) and call it up in the FEniCS script,
> or are there built-in functions for defining non-regular domain
> boundaries?
>
> I can easily define an inner boundary to be wave-like, but when it
> comes to the outer boundaries of the problem domain I seem to be
> forced to use the mesh = ... command, which - apparently - only
> allows for right-angled structures. Is there a way round this?
>
> Many thanks,
>

RTFM (read the FEniCS manual)
http://fenicsproject.org/documentation/tutorial/prepro.html

Moreover FEniCS has CSG (constructive solid geometry) functionality.
Check csg demo. Then it has mesh editor which is quite low level mesh
editing tool.

Jan

Can you help with this problem?

Provide an answer of your own, or ask Hossein Nili for more information if necessary.

To post a message you must log in.