Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/idefix-ci-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ jobs:
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sphBragTDiffusion -all $TESTME_OPTIONS
- name: Spherical anisotropic viscosity
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sphBragViscosity -all $TESTME_OPTIONS
- name: Collisionless thermal conduction
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/clessTDiffusion -all $TESTME_OPTIONS

Examples:
needs: [Fargo, Dust, Planet, ShearingBox, SelfGravity]
Expand Down
2 changes: 1 addition & 1 deletion reference
9 changes: 4 additions & 5 deletions test/MHD/clessTDiffusion/setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ void UserDefBoundary(Hydro *hydro, int dir, BoundarySide side, real t) {
IdefixArray4D<real> Vs = hydro->Vs;
IdefixArray1D<real> x1 = data->x[IDIR];

real rc,vc,vwind0;
real rc,vwind0;
real cs=cs_vescGlob*sqrt(2.);
real va_vesc = va_vescGlob;
real mu = va_vesc * sqrt(2.);
real PonRho;

PonRho = cs*cs;
rc = 0.25 / (cs_vescGlob*cs_vescGlob);
vc = cs;
vwind0 = ParkerWind(1./rc) * cs;

hydro->boundary->BoundaryFor("UserDefBoundary", dir, side,
Expand Down Expand Up @@ -96,8 +95,8 @@ void Setup::InitFlow(DataBlock &data) {
// Create a host copy
DataBlockHost d(data);

real r,th,rl;
real PonRho, vwind0, rc, vc;
real r,rl;
real PonRho, vwind0, rc;
real cs=cs_vescGlob*sqrt(2.);


Expand All @@ -110,7 +109,7 @@ void Setup::InitFlow(DataBlock &data) {
for(int j = 0; j < d.np_tot[JDIR] ; j++) {
for(int i = 0; i < d.np_tot[IDIR] ; i++) {
r=d.x[IDIR](i);
th=d.x[JDIR](j);

real vwind;

vwind = ParkerWind(r/rc) * cs;
Expand Down