Skip to content

Implicit Functions: Lathe #3256

Answered by nataraj2
andreasrauch asked this question in Q&A
Discussion options

You must be logged in to vote

Try the following and let us know if it works or not.

In the inputs,

geometry.prob_lo     =  -0.025 -0.05 -0.05
geometry.prob_hi     =   0.025  0.05  0.05

amr.n_cell           =   32 64 64
amr.max_level       = 3 

and use the following to create the cone

        EB2::SplineIF TriForCone;
        std::vector<amrex::RealVect> pts;
        amrex::RealVect p;

	p = amrex::RealVect(AMREX_D_DECL(0.0,0.0,0.0));
        pts.push_back(p);
	p = amrex::RealVect(AMREX_D_DECL(-0.577,1.0,0.0));
        pts.push_back(p);

        TriForCone.addLineElement(pts);

        pts.clear();
        auto Cone = EB2::lathe(TriForCone);

	auto ConeTranslate = EB2::translate(Cone,{0.0,0.0,0.0});
	RealArray point;…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@andreasrauch
Comment options

Answer selected by andreasrauch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants