Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DOUAR WSMP
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
HUGG
DOUAR WSMP
Commits
cbacf713
Commit
cbacf713
authored
15 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Modified to read in/initialize elemental pressures
parent
7a6612b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/define_ov.f90
+17
-4
17 additions, 4 deletions
src/define_ov.f90
with
17 additions
and
4 deletions
src/define_ov.f90
+
17
−
4
View file @
cbacf713
...
...
@@ -94,8 +94,12 @@ if (params%irestart.eq.0) then
allocate
(
ov
%
unode
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%unode'
,
'define_ov'
,
size
(
ov
%
unode
),
'dp'
,
+1
)
allocate
(
ov
%
vnode
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%vnode'
,
'define_ov'
,
size
(
ov
%
vnode
),
'dp'
,
+1
)
allocate
(
ov
%
wnode
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%wnode'
,
'define_ov'
,
size
(
ov
%
wnode
),
'dp'
,
+1
)
allocate
(
ov
%
wpreiso
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%wpreiso'
,
'define_ov'
,
size
(
ov
%
w
node
),
'dp'
,
+1
)
allocate
(
ov
%
wpreiso
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%wpreiso'
,
'define_ov'
,
size
(
ov
%
w
preiso
),
'dp'
,
+1
)
allocate
(
ov
%
temp
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%temp'
,
'define_ov'
,
size
(
ov
%
temp
),
'dp'
,
+1
)
! Line below added by dwhipp - 12/09
allocate
(
ov
%
pressure
(
ov
%
nleaves
),
stat
=
threadinfo
%
err
)
;
call
heap
(
threadinfo
,
'ov%pressure'
,
define_ov
',size(ov%pressure),'
dp
',+1)
! Line below added by dwhipp - 12/09
allocate (ov%spressure(ov%nleaves),stat=threadinfo%err) ; call heap (threadinfo,'
ov
%
spressure
',define_ov'
,
size
(
ov
%
spressure
),
'dp'
,
+1
)
allocate
(
ov
%
temporary_nodal_pressure
(
ov
%
nnode
),
stat
=
threadinfo
%
err
)
call
heap
(
threadinfo
,
'ov%temporary_nodal_pressure'
,
'define_ov'
,
size
(
ov
%
temporary_nodal_pressure
),
'dp'
,
+1
)
...
...
@@ -104,7 +108,10 @@ if (params%irestart.eq.0) then
ov
%
vnode
=
0.d0
ov
%
wnode
=
0.d0
ov
%
wpreiso
=
0.d0
! ov%pressure=0.d0
! Line below uncommented by dwhipp - 12/09
ov
%
pressure
=
0.d0
! Line below added by dwhipp - 12/09
ov
%
spressure
=
0.d0
ov
%
temporary_nodal_pressure
=
0.d0
call
initialize_temperature
(
ov
,
params
%
ztemp
)
if
(
iproc
.eq.
0
)
write
(
8
,
*
)
ov
%
nnode
,
' nodes in initial velocity octree'
...
...
@@ -128,7 +135,10 @@ else
allocate
(
ov
%
wnode
(
ov
%
nnode
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%wnode in define_ov$'
)
allocate
(
ov
%
wpreiso
(
ov
%
nnode
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%wpreiso in define_ov$'
)
allocate
(
ov
%
temp
(
ov
%
nnode
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%temp in define_ov$'
)
! allocate (ov%pressure(ov%nleaves),stat=err) ; if (err.ne.0) call stop_run ('Error alloc ov%pressure in define_ov$')
! Line below uncommented by dwhipp - 12/09
allocate
(
ov
%
pressure
(
ov
%
nleaves
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%pressure in define_ov$'
)
! Line below added by dwhipp - 12/09
allocate
(
ov
%
spressure
(
ov
%
nleaves
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%spressure in define_ov$'
)
allocate
(
ov
%
temporary_nodal_pressure
(
ov
%
nnode
),
stat
=
err
)
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ov%temp_nodal_pressure in define_ov$'
)
allocate
(
ov
%
whole_leaf_in_fluid
(
ov
%
nleaves
),
stat
=
err
)
...
...
@@ -150,7 +160,10 @@ else
kfix
,
&
i
=
1
,
ov
%
nnode
)
read
(
9
)
((
ov
%
icon
(
k
,
i
),
k
=
1
,
8
),
&
! ov%pressure(i), &
! Line below uncommented by dwhipp - 12/09
ov
%
pressure
(
i
),
&
! Line below added by dwhipp - 12/09
ov
%
spressure
(
i
),
&
crit
,
&
e2d
,
&
ov
%
whole_leaf_in_fluid
(
i
),&
...
...
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