Skip to content
Discussion options

You must be logged in to vote

Hi @yopology. That problem should not require the B-field divergence cleaning as the analytic field should not have any B-field divergence. You can turn off the divergence cleaning by setting warpx_do_initial_div_cleaning=False in the B_ext initialization, i.e.,

        B_ext = picmi.AnalyticInitialField(
            Bx_expression=self.Bx, By_expression=self.By, Bz_expression=self.Bz,
            warpx_do_initial_div_cleaning=False
        )

Let us know if that does not work for you.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yopology
Comment options

@EZoni
Comment options

@roelof-groenewald
Comment options

Answer selected by yopology
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested component: fluid-ohm Related to the Ohm's law solver (with fluid electrons)
3 participants