Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pafiX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holger Grosshans
pafiX
Commits
632b4d1b
Commit
632b4d1b
authored
5 years ago
by
Holger Grosshans
Browse files
Options
Downloads
Patches
Plain Diff
modified: run.sh
modified: src/makefile modified: src/pre.f90
parent
ba718f46
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
run.sh
+1
-1
1 addition, 1 deletion
run.sh
src/makefile
+2
-2
2 additions, 2 deletions
src/makefile
src/pre.f90
+8
-7
8 additions, 7 deletions
src/pre.f90
with
11 additions
and
10 deletions
run.sh
+
1
−
1
View file @
632b4d1b
mkdir
-p
results restart output
mpiexec
-np
3
src/pafiX
mpiexec
-np
2
src/pafiX
This diff is collapsed.
Click to expand it.
src/makefile
+
2
−
2
View file @
632b4d1b
...
...
@@ -15,9 +15,9 @@ INC =
# gcc:
CMP
=
mpifort
#O3: optimization
FLAGS
=
-O3
-mcmodel
=
medium
#
FLAGS = -O3 -mcmodel=medium
#debugging:
#
FLAGS = -g3 -O0 -fbounds-check -mcmodel=medium -fimplicit-none -fcheck=all -fbacktrace -floop-nest-optimize -ffpe-trap=invalid,zero,overflow -Wconversion -fno-tree-vectorize
FLAGS
=
-g3
-O0
-fbounds-check
-mcmodel
=
medium
-fimplicit-none
-fcheck
=
all
-fbacktrace
-floop-nest-optimize
-ffpe-trap
=
invalid,zero,overflow
-Wconversion
-fno-tree-vectorize
FFLAGS
=
-c
$(
FLAGS
)
...
...
This diff is collapsed.
Click to expand it.
src/pre.f90
+
8
−
7
View file @
632b4d1b
...
...
@@ -73,16 +73,14 @@
next
=
myid
+1
prev
=
myid
-1
if
(
bcx
.eq.
'p'
)
then
select
case
(
bcx
)
case
(
'p'
)
if
(
prev
.eq.
-1
)
prev
=
nrprocs
-1
if
(
next
.eq.
nrprocs
)
next
=
0
elseif
(
bcx
.eq.
'w'
)
then
case
(
'w'
,
'i'
)
if
(
prev
.eq.
-1
)
prev
=
mpi_proc_null
if
(
next
.eq.
nrprocs
)
next
=
mpi_proc_null
elseif
(
bcx
.eq.
'i'
)
then
if
(
prev
.eq.
-1
)
prev
=
mpi_proc_null
if
(
next
.eq.
nrprocs
)
next
=
mpi_proc_null
endif
end
select
! compute flow conditions
ntend
=
ntstart
+
ntime
-1
...
...
@@ -97,7 +95,10 @@
muf
=
nuf
*
rhof
ubulk
=
ubulk0
if
(
bcz
.eq.
'w'
)
delta
=
dimz
/
2._pr
if
(
bcy
.eq.
'w'
.and.
bcz
.eq.
'w'
)
delta
=
min
(
dimy
/
2._pr
,
dimz
/
2._pr
)
if
(
bcy
.eq.
'w'
.and.
bcz
.eq.
'p'
)
delta
=
dimy
/
2._pr
if
(
bcy
.eq.
'p'
.and.
bcz
.eq.
'w'
)
delta
=
dimz
/
2._pr
Re
=
ubulk
*
delta
/
nuf
ftt
=
dimxtot
/
ubulk
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment