Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple BCs on one face broken? #38

Closed
wd15 opened this issue Sep 19, 2014 · 1 comment
Closed

multiple BCs on one face broken? #38

wd15 opened this issue Sep 19, 2014 · 1 comment

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

## The following test case gives this answer ## [ 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5,] ## strange! from fipy.meshes.grid1D import Grid1D mesh = Grid1D(dx = 1., nx = 10) from fipy.variables.cellVariable import CellVariable var = CellVariable(mesh = mesh) from fipy.terms.implicitDiffusionTerm import ImplicitDiffusionTerm eq = ImplicitDiffusionTerm() from fipy.viewers import make viewer = make(var) viewer.plot() from fipy.boundaryConditions.fixedValue import FixedValue from fipy.boundaryConditions.fixedFlux import FixedFlux eq.solve( var, boundaryConditions = (FixedValue(mesh.getFacesLeft(), 0), FixedFlux(mesh.getFacesLeft(), 1)) ) print var viewer.plot() raw_input()

Imported from trac ticket #39, created by wd15 on 04-27-2005 at 18:07, last modified: 04-28-2005 at 14:58

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

Logged In: YES user_id=1116094 I was being stupid. Multiplte boundary conditions in this case would require a initial value problem type scheme. FV methods is a BVP type scheme.

Trac comment by wd15 on 04-28-2005 at 14:58

@wd15 wd15 closed this as completed Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant