Skip to Content.
Sympa Menu

opal - AW: [Opal] simulation with amr fieldsolver

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

AW: [Opal] simulation with amr fieldsolver


Chronological Thread  
  • From: "Snuverink Jochem (PSI)" <jochem.snuverink AT psi.ch>
  • To: 'sherlp' <1341516422 AT qq.com>, "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: AW: [Opal] simulation with amr fieldsolver
  • Date: Tue, 22 Mar 2022 07:32:13 +0000
  • Accept-language: en-US, de-CH
  • Authentication-results: mc2.ethz.ch; iprev=pass (psi-seppmail1.ethz.ch) smtp.remote-ip=129.132.93.141; spf=pass smtp.mailfrom=psi.ch; dmarc=skipped

Dear Sherlp

Did you compile with ENABLE_AMR and ENABLE_AMR_MG_SOLVER equals TRUE?
(https://gitlab.psi.ch/OPAL/src/-/wikis/For-Developers/Compile-OPAL#user-content-configure-opal).
If that is not the case then the AMR example won't work, though I admit the
error message is not very helpful. Did you already try another non-AMR
example?

Best regards,
Jochem

-----Ursprüngliche Nachricht-----
Von: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> Im Auftrag von
sherlp
Gesendet: Dienstag, 22. März 2022 03:01
An: opal AT lists.psi.ch
Betreff: [Opal] simulation with amr fieldsolver

Dear all,

I tried to run the example named AmrRingCyclotron in RegressionTests, but
fails. It shows that

Error>
Error> *** Parse error detected by function "Expressions::parseStringValue()"
Error> *** in line 82 of file "AmrRingCyclotron.in" before token ",":
Error>
FS1:FIELDSOLVER,FSTYPE=AMR_MG,MX=32,MY=32,MT=32,PARFFTX=TRUE,PARFFTY=TRUE,PARFFTT=TRUE,BCFFTX=OPEN,BCFFTY=OPEN,BCFFTT=OPEN,BBOXINCR=20,AMR_MAXLEVEL=2,AMR_MAXGRIDX=32,AMR_MAXGRIDY=32,AMR_MAXGRIDZ=32,AMR_BFX=16,AMR_BFY=16,AMR_BFZ=16,AMR_REFX=2,AMR_REFY=2,AMR_REFZ=2,AMR_DOMAIN_RATIO={1,0.75,0.75},AMR_TAGGING=CHARGE_DENSITY,AMR_DENSITY=1e09,
AMR_MG_REBALANCE=TRUE,AMR_MG_NSWEEPS=12,ITSOLVER=SA,AMR_MG_NORM=LINF;
Error>
Error> String value expected

I looked up the manual but didn't find anything wrong with this .

Best regards,

Sherlp.



Archive powered by MHonArc 2.6.19.

Top of Page