Ask Your Question
1

differential form to vector field and back

asked 7 years ago

danielvolinski gravatar image

Is there a way to convert a vector field into a corresponding differential 1-form (work form) or a corresponding differential 2-form (flow form)?

And vice versa, is there a way to convert a 1-form or a 2-form into a corresponding vector field?

Thanks.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 7 years ago

eric_g gravatar image

Yes, but you need a metric for this. If the metric is g, then to transform a vector field v into a 1-form, it suffices to write

v.down(g)

while to transform a 1-form f into a vector field, the command is

f.up(g)

More details in this section of the reference manual.

Preview: (hide)
link

Comments

Thanks Eric.

What about the flux form .i.e. converting a vector field into its corresponding 2-form and back? As you mentioned above, this depends on the metric `g

Daniel

danielvolinski gravatar imagedanielvolinski ( 7 years ago )

In dimension 3, you can get the flux 2-form as the Hodge dual of the 1-form associated to the vector:

v.down(g).hodge_dual(g)

More details here.

eric_g gravatar imageeric_g ( 7 years ago )

Thanks Eric

danielvolinski gravatar imagedanielvolinski ( 7 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 7 years ago

Seen: 430 times

Last updated: Jan 27 '18