# Problem with creating vector with scalar function components

**URL:** <https://fenicsproject.discourse.group/t/problem-with-creating-vector-with-scalar-function-components/5383>\
**Category:** Uncategorized\
**Created:** [March 24, 2021, 2:28am UTC](https://fenicsproject.discourse.group/t/problem-with-creating-vector-with-scalar-function-components/5383 "2021-03-24T02:28:12Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![avishmj](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/avishmj/32/2017_2.png) [@avishmj](https://fenicsproject.discourse.group/u/avishmj)\
**Post date:** [March 31, 2021, 7:04pm UTC](https://fenicsproject.discourse.group/t/problem-with-creating-vector-with-scalar-function-components/5383/40 "2021-03-31T19:04:51Z")

</div>

Hi @dokken , my apologies for posting on the same thread. I am sorry for that.

I had already created a new thread yesterday [[(https://fenicsproject.discourse.group/t/how-to-define-bcs-on-boundaries-of-submeshes-of-a-parent-mesh/5470)]](https://fenicsproject.discourse.group/t/how-to-define-bcs-on-boundaries-of-submeshes-of-a-parent-mesh/5470), but haven’t received any response from anyone yet. So I thought of continuing this thread.

Since my problem concerns with extraction of physical tags of boundaries from gmsh to FEniCS when defining subdomains and defining BCs on them, I am not sure if a built-in mesh would be an appropriate example to address the problem. In the link mentioned above, I have tried my best to reduce the problem to a minimal working example to illustrate the issue with a mesh imported from gmsh.

Again, I am sorry for continuing this thread. My sincere apologies for any inconvenience this may have caused.

---

_[View the full topic](https://fenicsproject.discourse.group/t/problem-with-creating-vector-with-scalar-function-components/5383)._
